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

Ensure blacklist header check is case insensitive. #59

Merged
merged 1 commit into from
May 22, 2016

Conversation

boone
Copy link
Contributor

@boone boone commented May 22, 2016

I was looking at a package that uses ExVCR and noticed that the cassettes were not filtering the headers that were specified in the config. It turns out to be a case sensitivity issue. I think it doesn't show up in the ExVCR specs because the test server, HttpServer, seems to use all lowercase headers.

I also noticed there is not a unit test file for ExVCR.Filter. I added one, but only added tests for the remove_blacklisted_headers method for now.

P.S. This is my first Elixir PR, apologies if I'm not following proper conventions yet. 😊 I'll be happy to fix mistakes.

@coveralls
Copy link

coveralls commented May 22, 2016

Coverage Status

Coverage remained the same at 93.285% when pulling ad84654 on boone:blacklist_header_case into 173d2b8 on parroty:master.

@parroty parroty merged commit be14d4e into parroty:master May 22, 2016
@parroty
Copy link
Owner

parroty commented May 22, 2016

Thanks! I'll be publishing it later.

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.

3 participants