Skip Menu |

This queue is for tickets about the URI-Escape-XS CPAN distribution.

Report information
The Basics
Id: 94793
Status: resolved
Priority: 0/
Queue: URI-Escape-XS

People
Owner: DANKOGAI [...] cpan.org
Requestors: DKAS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: encodeURIComponent can't encode integer values
Hello, Dan! I found unexpected behavior of method encodeURIComponent. Then you try to encode integer value by this method, it returns empty string. Test case: perl -MURI::Escape::XS -e 'my $res = URI::Escape::XS::encodeURIComponent(1); print qq($res\n);' Current result: empty sting Expected result: 1
Thank you. fixed. https://github.com/dankogai/p5-uri-escape-xs/commit/30bf1cac00f424b5310df99ab0d8918a37711f45 VERSION++ on its way. Dan the Maintainer Thereof On Wed Apr 16 04:14:07 2014, DKAS wrote: Show quoted text
> Hello, Dan! > I found unexpected behavior of method encodeURIComponent. Then you try > to encode integer value by this method, it returns empty string. > > Test case: > perl -MURI::Escape::XS -e 'my $res = > URI::Escape::XS::encodeURIComponent(1); print qq($res\n);' > > Current result: empty sting > Expected result: 1