Skip to content

Instantly share code, notes, and snippets.

@christophsturm
Created May 31, 2010 17:18
Show Gist options
  • Save christophsturm/420030 to your computer and use it in GitHub Desktop.
Save christophsturm/420030 to your computer and use it in GitHub Desktop.
encodeURIComponent(" ")
"%20"
decodeURIComponent("+")
"+"
decodeURIComponent("%20")
" "
[31.05.10 18:00:19] Christoph Sturm: >> Rack::Utils.escape(" ")
=> "+"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment