Unicode in request captures

View: New views
4 Messages — Rating Filter:   Alert me  

Unicode in request captures

by Bernhard Graf-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

While I am at encoding issues in Cat ...

I filed a bug report together with patch and test about Unicode
characters in request captures more than two weeks ago:

https://rt.cpan.org/Public/Bug/Display.html?id=50339

It would be great if someone could care about it.

_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

Re: Unicode in request captures

by Tomas Doran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 24 Oct 2009, at 23:13, Bernhard Graf wrote:

> While I am at encoding issues in Cat ...
>
> I filed a bug report together with patch and test about Unicode
> characters in request captures more than two weeks ago:
>
> https://rt.cpan.org/Public/Bug/Display.html?id=50339
>
> It would be great if someone could care about it.
>

*Taken*

I've got a branch on Catalyst currently to deal with some other  
encoding Captures / CaptureArgs issues.

I think that your patch may be a little too enthusiastic about  
encoding as it is currently, but also looks like a reasonable first  
attempt.

I'll incorporate this into my branch http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Runtime/5.80/branches/uri_encode_captures_andor_args_take2/

Many thanks for the patch, I'll update you further on the status of  
the branch in RT.

Cheers
t0m



_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

Re: Unicode in request captures

by Bernhard Graf-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi t0m,

>> I filed a bug report together with patch and test about Unicode
>> characters in request captures more than two weeks ago:
>>
>> https://rt.cpan.org/Public/Bug/Display.html?id=50339
>
> *Taken*

fine.

> I've got a branch on Catalyst currently to deal with some other encoding
> Captures / CaptureArgs issues.

good to hear.

> I think that your patch may be a little too enthusiastic about encoding
> as it is currently, but also looks like a reasonable first attempt.

hmm, what do you mean with too enthusiastic?

> I'll incorporate this into my branch
> http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Runtime/5.80/branches/uri_encode_captures_andor_args_take2/
>
>
> Many thanks for the patch, I'll update you further on the status of the
> branch in RT.

Thx

Bernhard


_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

Re: Unicode in request captures

by Tomas Doran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 27 Oct 2009, at 10:29, Bernhard Graf wrote:
>> I think that your patch may be a little too enthusiastic about  
>> encoding
>> as it is currently, but also looks like a reasonable first attempt.
>
> hmm, what do you mean with too enthusiastic?

I mean may encode too much - so, for example, people working around  
the fact that it doesn't work right currently may end up with things  
double encoded etc.. I may be wrong - I just glanced at the patch. I  
know for _certain_ that the code in my branch will fail like this  
currently.

If you have spare tuits to work on this then please feel free to turn  
up on irc for a commit bit - I've written out a list of tests I think  
are needed for the second attempt at this (as previously noted, I  
tried to do this before, but broke stuff - so many more tests and  
much more care is being employed this time round)

Cheers
t0m


_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/