diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-19 12:28:45 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-19 12:28:45 +0100 |
commit | d8534c980d298764a0956fb803e7b23f496e9a30 (patch) | |
tree | 56cd69847cb2505d508e0e7ec5841926de08c3c4 | |
parent | 376e850108a06d0b3dc1d19fd1e77b123b775cc7 (diff) |
Switch to Catalyst::Plugin::Unicode::Encoding as it handles incoming arguments better.
-rw-r--r-- | perl-external/modules.txt | 1 | ||||
-rw-r--r-- | perl-external/urls.txt | 1 | ||||
-rw-r--r-- | perllib/FixMyStreet/App.pm | 4 |
3 files changed, 5 insertions, 1 deletions
diff --git a/perl-external/modules.txt b/perl-external/modules.txt index e7f95eb63..156fe294e 100644 --- a/perl-external/modules.txt +++ b/perl-external/modules.txt @@ -10,6 +10,7 @@ Catalyst::Plugin::ConfigLoader Catalyst::Plugin::Session::Store::DBIC Catalyst::Plugin::Static::Simple Catalyst::Plugin::Unicode +Catalyst::Plugin::Unicode::Encoding Catalyst::Runtime Catalyst::View::TT Class::Accessor diff --git a/perl-external/urls.txt b/perl-external/urls.txt index f01e1e9a4..cec9e556b 100644 --- a/perl-external/urls.txt +++ b/perl-external/urls.txt @@ -47,6 +47,7 @@ http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Plugin-Authenticat http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Plugin-Session-0.31.tar.gz http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Plugin-Session-Store-Delegate-0.06.tar.gz http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Plugin-Unicode-0.93.tar.gz +http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Plugin-Unicode-Encoding-1.1.tar.gz http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Runtime-5.80032.tar.gz http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/CatalystX-Component-Traits-0.16.tar.gz http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-Getopt-0.35.tar.gz diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm index 2cb8cbbff..d6314ebf8 100644 --- a/perllib/FixMyStreet/App.pm +++ b/perllib/FixMyStreet/App.pm @@ -16,7 +16,7 @@ use URI::QueryParam; use Catalyst ( 'Static::Simple', # - 'Unicode', + 'Unicode::Encoding', 'Session', 'Session::Store::DBIC', 'Session::State::Cookie', # FIXME - we're using our own override atm @@ -34,6 +34,8 @@ __PACKAGE__->config( name => 'FixMyStreet::App', + encoding => 'UTF-8', + # Disable deprecated behavior needed by old applications disable_component_resolution_regex_fallback => 1, |