Escape language codes before matching them in case they contain
authorTom Hughes <tom@compton.nu>
Sat, 26 Sep 2009 22:39:09 +0000 (22:39 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 26 Sep 2009 22:39:09 +0000 (22:39 +0000)
commitf0d3831f12a6588adc7aaa9f428150c9d8d3ff3f
tree284c14a99030979fe3d7c5626210c30cdc186348
parent088bd1dcb2d2fb223354957e4307b4802ff25442
Escape language codes before matching them in case they contain
characters with special meaning in a regexp. Closes #2318.
vendor/plugins/http_accept_language/lib/http_accept_language.rb