2016 Update

This commit is contained in:
Tina Müller 2016-12-05 22:15:40 +01:00
parent 948b86eafa
commit dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions

View file

@ -1,8 +1,9 @@
This task (the reverse of [[URL encoding]] and distinct from [[URL parser]]) is to provide a function
This task   (the reverse of   [[URL encoding]]   and distinct from   [[URL parser]])   is to provide a function
or mechanism to convert an URL-encoded string into its original unencoded form.
'''Test cases'''
*The encoded string "<code><nowiki>http%3A%2F%2Ffoo%20bar%2F</nowiki></code>" should be reverted to the unencoded form "<code><nowiki>http://foo bar/</nowiki></code>".
;Test cases:
* &nbsp; The encoded string &nbsp; "<code><nowiki>http%3A%2F%2Ffoo%20bar%2F</nowiki></code>" &nbsp; should be reverted to the unencoded form &nbsp; "<code><nowiki>http://foo bar/</nowiki></code>".
*The encoded string "<code><nowiki>google.com/search?q=%60Abdu%27l-Bah%C3%A1</nowiki></code>" should revert to the unencoded form "<code><nowiki>google.com/search?q=`Abdu'l-Bahá</nowiki></code>".
* &nbsp; The encoded string &nbsp; "<code><nowiki>google.com/search?q=%60Abdu%27l-Bah%C3%A1</nowiki></code>" &nbsp; should revert to the unencoded form &nbsp; "<code><nowiki>google.com/search?q=`Abdu'l-Bahá</nowiki></code>".
<br><br>

View file

@ -0,0 +1 @@
[System.Web.HttpUtility]::UrlDecode("http%3A%2F%2Ffoo%20bar%2F")