Hello, With dancer 1.3001, the new forward method doesn't work correctly with non ascii characters. $ dancer -a test In index.tt: <blockquote> Avant de choisir le prénom d'un garçon, pensez toujours à la femme qui aura à le murmurer plus tard. </blockquote> In test.pm add the route: get '/quote' => sub { forward '/'; } Run the application standalone et point your browser at http://localhost:3000/quote to see something awful. Regards, -- Eric
On 28/01/2011 07:53, Eric Guirbal wrote: [...]
Run the application standalone et point your browser at
to see something awful.
Nice catch! This happens because of the automatic encoding that Dancer does if the setting "charset" is defined. Next time, can you report any new bug you find on GitHub rather than on the mailing list? It's easier for us to keep track of bugs that way. Thanks ;) -- Alexis Sukrieh
On Fri, Jan 28, 2011 at 11:51 AM, Alexis Sukrieh <sukria@sukria.net> wrote:
On 28/01/2011 07:53, Eric Guirbal wrote: [...]
Run the application standalone et point your browser at
to see something awful.
Eric, thank you for reporting!
This happens because of the automatic encoding that Dancer does if the setting "charset" is defined.
Heh.. I was in the middle of setting it up to see that you already found the problem. Too quick! :) Sawyer.
On 28/01/2011 12:07, sawyer x wrote:
This happens because of the automatic encoding that Dancer does if the setting "charset" is defined.
Heh.. I was in the middle of setting it up to see that you already found the problem. Too quick! :)
Well, that's the diagnosis, but I don't have a patch yet ;)
participants (3)
-
Alexis Sukrieh -
Eric Guirbal -
sawyer x