File: 02unescape.t

package info (click to toggle)
libhttp-request-ascgi-perl 1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 156 kB
  • ctags: 7
  • sloc: perl: 461; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
use strict;
use warnings;
use HTTP::Request::AsCGI;
use Test::More tests => 1;

is(
  HTTP::Request::AsCGI::_uri_safe_unescape('%2Fhello%20there'),
  '%2Fhello there',
  'do not unescape reserved characters',
);