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

Use sufficient a regexp anchor to check @response.content_type.to_s #22029

Merged
merged 1 commit into from
Oct 22, 2015

Conversation

yui-knk
Copy link
Contributor

@yui-knk yui-knk commented Oct 22, 2015

This commit follows up of ea9bc06.
To check @response.content_type.to_s is ended with "xml",
to use \z is sufficient.

This commit follows up of ea9bc06.
To check `@response.content_type.to_s` is ended with `"xml"`,
to use `\z` is sufficient.
@rails-bot
Copy link

r? @eileencodes

(@rails-bot has picked a reviewer for you, use r? to override)

rafaelfranca added a commit that referenced this pull request Oct 22, 2015
Use sufficient a regexp anchor to check `@response.content_type.to_s`
@rafaelfranca rafaelfranca merged commit 2828cfd into rails:master Oct 22, 2015
@yui-knk yui-knk deleted the fixup_content_type_regexp branch October 24, 2015 06:37
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.

None yet

4 participants