whitespace other than space not treated as search word delimiter
Bug #275588 reported by
qwertitis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Fix Released
|
Undecided
|
Unassigned | ||
LinuxDC++ |
Fix Released
|
Low
|
Unassigned |
Bug Description
Reproduce:
1. Connect to your favourite hub
2. Search for `abba'. It returns results.
3. Now copy and paste ` abba' to your search field. (It's critical that the word is surrounded by some tab character)
4. The search returns no results since "\tabba" can't be found in any filename.
Expected behavior:
4. The search returns results regardless of what kind of whitespace is used.
Actual behavior:
Only space is used as a search word delimiter, even though tabs and newlines should be delimiters too (arguably).
Seen in 705 and 698, latest Linux DC++ bzr revisions.
Changed in linuxdcpp: | |
assignee: | nobody → individ |
status: | New → In Progress |
Changed in dcplusplus: | |
status: | Fix Committed → Fix Released |
Changed in linuxdcpp: | |
importance: | Undecided → Low |
milestone: | none → 1.1.0 |
status: | In Progress → Fix Committed |
Changed in linuxdcpp: | |
status: | Fix Committed → Fix Released |
tags: | added: core |
To post a comment you must log in.
This is a problem in DC++ (i.e. upstream) too? Here's a patch for lp:dcplusplus, not tested at all, so please don't be upset if it contains syntax errors. ^^'' Removed an unused(?) method too.