6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/21/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3732] Encoding columns names
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..___.. .. ..__ [__] | | ||__|[__) | | | |/\|| || \
Comment
> In file templates/prefs/columnselect.inc, line 20 there is something > like that: > > $js .= "columns[$source_count][$column_count] = ['$column', > decodeURIComponent('" . rawurlencode($attributes[$column]['label']) . > "'), $marked, " . (($marked === 'true') ? $selected[$column] : > 'null') . "];\n"; > > Now when I am using language different than English (Polish for > example) and column names are localized, what decodeURIComponent() JS > function is given is an invalid encoded URI - according to W3C > standard it is probably forbidden to use non UTF-8 characters. > > For example, when Polish language is chosen, following JS code will > be generated: > > > > columns[0][9] = ['title', decodeURIComponent('Tytu%B3'), false, null]; > > > > Under Firefox JS interpreter barfs and stops analyzing column[][] > declarations from here. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers