| Sign In/My Account | View Cart |
| Article: |
A Canary Trap for URI Escaping | |
| Subject: | Sounds like a work-around | |
| Date: | 2006-05-30 09:51:34 | |
| From: | rspier | |
|
Response to: Sounds like a work-around
|
||
|
Bas- You are missing the point -- this is about escaping, not encoding. Browsers and multiple redirects will often re-escape things in annoying and unexpected ways. -R |
||
Showing messages 1 through 3 of 3.
I like the idea of adding a 'canary' to detect over-coding, but I would prefer to use something more robust, like a CRC and I don't like the idea of using it to determine when to stop decoding.
In the multiple redirect situation described in the article, I would prefer to fix the root problem: the redirects should not have been re-escaping the original data. This canary solution just hides the problem.
Escaping/unescaping, encoding/decoding, same thing.