Created
July 8, 2011 09:46
-
-
Save estahn/1071471 to your computer and use it in GitHub Desktop.
"warning: regexp match /.../n against to UTF-8 string" when running Cucumber
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: Can be removed after updating to rack 1.3.0 | |
module Rack | |
module Utils | |
def escape(s) | |
CGI.escape(s.to_s) | |
end | |
def unescape(s) | |
CGI.unescape(s) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment