nextcloud / nextcloud/passman

Enable to do a search with a dot in string

Open
#323 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
823
Forks
117
Avg merge
1d 21h
Merged PRs (30d)
8

Description

Steps to reproduce
  1. Create an entry in Passman with at least one of the field that contains a string like sometext.othertext
  2. Try to search for othertext
  3. Passman will return no result unless there are some !
Expected behaviour

It should return existing entries

Actual behaviour

Says there is no result

Configuration

Operating system: Ubuntu 16.04 64 bits

Browser: Chromium 60

Extensions that might cause interference: none

Passman version: 2.1.2 on Nextcloud 11.0.3 (version 1.3.3 of extension in Chromium)

Operating system: Ubuntu 16.04

Web server: Apache

Database: MySQL

PHP version: 7

cloud server: Nextcloud

cloud version: 11.0.3


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the search in Passman 2.1.2 with an entry containing a dotted string, then trace the search entry point and handling of the dot. Verify the fix by searching for “othertext” and confirming that the existing entry is returned.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.