Skip to content
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

Require only cgi/util for escaping and unescaping #1487

Merged
merged 1 commit into from
Apr 18, 2017

Conversation

janko
Copy link
Contributor

@janko janko commented Apr 18, 2017

For CGI escaping it's not needed to require the whole cgi.rb standard library, it's enough to require only cgi/util.rb, which is almost 5x smaller.

While here we also remove superfluous cgi.rb requires, and add cgi/util.rb requires that were missing.

For CGI escaping it's not needed to require the whole cgi.rb standard
library, it's enough to require only cgi/util.rb, which is almost 5x
smaller.

While here we also remove superflous cgi.rb requires, and add
cgi/util.rb requires that were missing.
@awood45
Copy link
Member

awood45 commented Apr 18, 2017

This looks reasonable, thanks!

@awood45 awood45 merged commit dcc6538 into aws:master Apr 18, 2017
awood45 added a commit that referenced this pull request Jun 29, 2017
Require only cgi/util for escaping and unescaping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants