Browse files

Add a note in KNOWN-ISSUES regarding ECMA escape

  • Loading branch information...
1 parent 4023876 commit 84b4a9f276c34318f7a76734f16a09aedc58b1c9 @raggi raggi committed Dec 29, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 KNOWN-ISSUES
@@ -1,3 +1,12 @@
+= Known issues with Rack and ECMA-262
+* Many users expect the escape() function defined in ECMA-262 to be compatible
+ with URI. Confusion is especially strong because the documentation for the
+ escape function includes a reference to the URI specifications. ECMA-262
+ escape is not however a URI escape function, it is a javascript escape
+ function, and is not fully compatible. Most notably, for characters outside of
+ the BMP. Users should use the more correct encodeURI functions.
= Known issues with Rack and Web servers
* Lighttpd sets wrong SCRIPT_NAME and PATH_INFO if you mount your

0 comments on commit 84b4a9f

Please sign in to comment.