An error was pointed out to me that occurs when trying to submit an album to a program log that has a '+' in it. This actually affects all things using AJAX and there are a couple other characters as well. It was just never noticed before because if you're not doing something that writes data you don't get an error. It just gets ignored.
The program is in the use of the GET method. When the plus sign isn't escaped, it's treated like a space. I thought I had everything being escaped, but the javascript escape() method does not cover everything. So I switched over to the encodeURIcomponent() method which does cover this.
This is currently only fixed in beta, but I'll port it over soon.
Friday, September 21, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment