change encode check for newer URI::Escape versions
This commit is contained in:
parent
9abeae359a
commit
e0f55e7e5e
1 changed files with 3 additions and 3 deletions
|
|
@ -343,11 +343,11 @@ $session->config->delete('cdn');
|
||||||
#
|
#
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
my $escapeString = '10% is enough!';
|
my $escapeString = '10% is enough;';
|
||||||
my $escapedString = $session->url->escape($escapeString);
|
my $escapedString = $session->url->escape($escapeString);
|
||||||
my $unEscapedString = $session->url->unescape($escapeString);
|
my $unEscapedString = $session->url->unescape($escapeString);
|
||||||
is($escapedString, '10%25%20is%20enough!', 'escape method');
|
is($escapedString, '10%25%20is%20enough%3B', 'escape method');
|
||||||
is($unEscapedString, '10% is enough!', 'unescape method');
|
is($unEscapedString, '10% is enough;', 'unescape method');
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue