aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks/config_files.rake
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-10-04 17:21:49 +0100
committerMark Longair <mhl@pobox.com>2013-10-04 17:29:06 +0100
commitabfbb63875850922052da6e0626bdba4e137af65 (patch)
tree27c0e5aa809af213a1096e670cd571b859801323 /lib/tasks/config_files.rake
parent62c7844025044413158489554e5b6a4c7dc43bb0 (diff)
Allow public body listing based on first letter outside US-ASCII
Under Ruby 1.8, it was previously impossible to use one of the "first letter" alphabet links on the public body listing page if the first letter was outside [A-Za-z] since the test for the parameter only being a single letter wasn't aware of the possibly of multi-byte characters. In addition, upcasing of letters outside [A-Za-z] didn't work because String#upcase in Ruby 1.8 isn't Unicode-aware. This commit fixes these two problems, so that non-US-ASCII first letter links will work under Ruby 1.8. (Fixes #1112.)
Diffstat (limited to 'lib/tasks/config_files.rake')
0 files changed, 0 insertions, 0 deletions