@@ -20,14 +20,14 @@ URL::Encode - Encoding and decoding of C<application/x-www-form-urlencoded> enco
20
20
This module provides functions to encode and decode strings into and from the
21
21
C<application/x-www-form-urlencoded> encoding.
22
22
23
- The C<application/x-www-form-urlencoded> format encodes a ordered data sets of
24
- pairs consisting of a name and a value, with pairs seperated by ampersand and
25
- names and values seperated by the equal sign. Space characters are replaced
26
- with plus sign and any characters not in the unreserved character set is
27
- encoded using the percent-encoding scheme also used for resource identifiers.
28
- A percent-encoded octet is encoded as a character triplet, consisting of the
29
- percent character "%" followed by the two hexadecimal digits representing
30
- that octet's numeric value.
23
+ The C<application/x-www-form-urlencoded> format encodes a ordered data
24
+ sets of pairs consisting of a name and a value, with pairs seperated by
25
+ ampersand or semicolon and names and values seperated by the equal sign.
26
+ Space characters are replaced with plus sign and any characters not in
27
+ the unreserved character set is encoded using the percent-encoding scheme
28
+ also used for resource identifiers. A percent-encoded octet is encoded as
29
+ a character triplet, consisting of the percent character "%" followed by
30
+ the two hexadecimal digits representing that octet's numeric value.
31
31
32
32
The unreserved character set includes the uppercase and lowercase letters,
33
33
decimal digits, hyphen, period, underscore, and tilde.
@@ -72,7 +72,7 @@ octet string.
72
72
$params = url_params_flat($octets);
73
73
$params = url_params_flat($octets, $utf8);
74
74
75
- Parses a URL-encoded form data sets of name/value pairs from the given octets.
75
+ Parses a URL-encoded data set of name/value pairs from the given octets.
76
76
Returns an ARRAY reference containing the URL-decoded name/value pairs in order.
77
77
78
78
$params = url_params_flat('foo=A&foo=B&bar=C');
@@ -83,7 +83,7 @@ Returns an ARRAY reference containing the URL-decoded name/value pairs in order.
83
83
$params = url_params_mixed($octets);
84
84
$params = url_params_mixed($octets, $utf8);
85
85
86
- Parses a URL-encoded form data sets of name/value pairs from the given octets.
86
+ Parses a URL-encoded data set of name/value pairs from the given octets.
87
87
Returns a HASH reference containing the URL-decoded name/value pairs. Multiple
88
88
occurrences of a parameter will result in an ARRAY reference holding all
89
89
the values for that parameter in order.
@@ -96,7 +96,7 @@ the values for that parameter in order.
96
96
$params = url_params_multi($octets);
97
97
$params = url_params_multi($octets, $utf8);
98
98
99
- Parses a URL-encoded form data sets of name/value pairs from the given octets.
99
+ Parses a URL-encoded data set of name/value pairs from the given octets.
100
100
Returns a HASH reference containing the URL-decoded name/value pairs. Values
101
101
are stored in an ARRAY reference.
102
102
@@ -108,7 +108,7 @@ are stored in an ARRAY reference.
108
108
url_params_each($octets, $callback);
109
109
url_params_each($octets, $callback, $utf8);
110
110
111
- Parses a URL-encoded form data sets of name/value pairs from the given octets.
111
+ Parses a URL-encoded data set of name/value pairs from the given octets.
112
112
Invokes the given callback for each URL-decoded name/value pair.
113
113
114
114
$callback = sub {
200
200
201
201
=head1 COPYRIGHT
202
202
203
- Copyright 2011-2013 by Christian Hansen.
203
+ Copyright 2011-2014 by Christian Hansen.
204
204
205
205
This library is free software; you can redistribute it and/or modify
206
206
it under the same terms as Perl itself.
0 commit comments