method
encode_www_form_component
v1_9_2_180 -
Show latest stable
-
0 notes -
Class: URI
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180 (0)
- 1_9_3_125 (21)
- 1_9_3_392 (0)
- 2_1_10 (38)
- 2_2_9 (9)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (2)
- What's this?
encode_www_form_component(str)
public
Encode given str to URL-encoded form data.
This doesn’t convert *, -, ., 0-9, A-Z, _, a-z, does convert SP to +, and convert others to %XX.
This refers http://www.w3.org/TR/html5/forms.html#url-encoded-form-data
See URI.decode_www_form_component, URI.encode_www_form