-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated escape_html not to escape forward slash #2097
Conversation
b610b96
to
bf734d6
Compare
bf734d6
to
42c0d2c
Compare
Can you switch this to use |
I think we should do that, but I'm fine if it's a separate PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@ioquatix @jeremyevans
I have not measured yet, but I guess https://github.com/ruby/cgi/blob/v0.3.6/lib/cgi/util.rb#L74-L91 And some behaviors are different:
I'm not sure if it can be replaced with Related commits |
I don't think the behavior differences you mention are blockers to merging, though they may require test updates. CGI behavior using decimal is better as it saves a character :), and supporting non-UTF8 is also a useful feature. |
fix: #2096
NOTE: This PR will break backwards compatibility.