- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 30 Jun 2008 23:52:17 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv12390 Modified Files: Overview.html Log Message: Don't escape '%' when doing URL resolution. (bug 5802) (credit: hs) (whatwg r1835) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1023 retrieving revision 1.1024 diff -u -d -r1.1023 -r1.1024 --- Overview.html 30 Jun 2008 23:46:08 -0000 1.1023 +++ Overview.html 30 Jun 2008 23:52:15 -0000 1.1024 @@ -3066,8 +3066,9 @@ <p>If parsing <var title="">url</var> resulted in a <a href="#ltpathgt" title=url-path><path></a> component, then replace the matching substring of <var title="">url</var> with the string that results from - applying the following steps to each character that doesn't match the - original <path> production defined in RFC 3986:</p> + applying the following steps to each character other than U+0025 PERCENT + SIGN (%) that doesn't match the original <path> production defined + in RFC 3986:</p> <ol> <li>Encode the character into a sequence of octets as defined by UTF-8. @@ -3078,22 +3079,23 @@ <div class=example> <p>For instance if <var title="">url</var> was "<code - title="">//example.com/a^b☺c%FFd/?e</code>", then the <a + title="">//example.com/a^b☺c%FFd%z/?e</code>", then the <a href="#ltpathgt" title=url-path><path></a> component's substring - would be "<code title="">/a^b☺c%FFd/</code>" and the two + would be "<code title="">/a^b☺c%FFd%z/</code>" and the two characters that would have to be escaped would be "<code title="">^</code>" and "<code title="">☺</code>". The result after this step was applied would therefore be that <var title="">url</var> now had the value "<code - title="">//example.com/a%5Eb%E2%98%BAc%FFd/?e</code>".</p> + title="">//example.com/a%5Eb%E2%98%BAc%FFd%z/?e</code>".</p> </div> <li> <p>If parsing <var title="">url</var> resulted in a <a href="#ltquerygt" title=url-query><query></a> component, then replace the matching substring of <var title="">url</var> with the string that results from - applying the following steps to each character that doesn't match the - original <query> production defined in RFC 3986:</p> + applying the following steps to each character other than U+0025 PERCENT + SIGN (%) that doesn't match the original <query> production + defined in RFC 3986:</p> <ol> <li>If the character in question cannot be expressed in the encoding
Received on Monday, 30 June 2008 23:52:54 UTC