Bug #2067
character translation in search
| Status: | Closed | Start date: | 05/30/2012 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | UI | |||
| Target version: | 2.1.0 | Estimated time: | 16.00 hours | |
| Rank: | Tester: |
Description
Entering some search filenames requires you to enter character sequences that are translated. For example, search for the file name daemon and the leading %da will get translated to:
<INPUT type='text' name='filename' size='40' value='Úemon%'>
(see attached file).
The webpage charset is UTF-8, changing it to us-ascii would not be desirable nor did it fix the problem. If we can't come up with an elegant solution, I recommend changing the wildcard from % to *. The code would have to do the reverse when generating the sql since postgres expects %.
History
Updated by Paul Holland 12 months ago
- Assignee set to Dong Ma
- IterNum set to 2
Updated by Dong Ma 12 months ago
- Status changed from New to Resolved
Fixed in revision5930.
Caused by $Filename = GetParm("filename",PARM_STRING); PARM_STRING use urldecode() function to decode any %## encoding in the given string.
Updated by Mary Laser 9 months ago
- Target version changed from 2.0.1 to 2.1.0