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

Fix ignore localhost when using headers #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

dgb
Copy link

@dgb dgb commented Jul 26, 2018

Fixes the ignore_localhost option when recording requests that send
headers. This was raising an ArgumentError because every element of the
request was being enumerated and checked as a String (including
non-string-like maps, which is how headers are represented).

This changes the checking of the url to get the url out of the request
via the corresponding adapter.

Fixes the ignore_localhost option when recording requests that send
headers. This was raising an ArgumentError because every element of the
request was being enumerated and checked as a String (including
non-string-like maps, which is how headers are represented).

This changes the checking of the url to get the url out of the request
via the corresponding adapter.
@coveralls
Copy link

coveralls commented Jul 26, 2018

Coverage Status

Coverage decreased (-0.5%) to 93.317% when pulling eca7cdd on dgb:master into 1882243 on parroty:master.

@parroty
Copy link
Owner

parroty commented Sep 24, 2018

Sorry not responding for a long time. Does merging #140 resolve the issue?

@dgb
Copy link
Author

dgb commented Sep 26, 2018

@parroty probably--it looks like a similar fix. I'm not on a project which uses exvcr right now though, so I'm not able to confirm unfortunately. When I have a bit more time later this week I'll try and verify and update this ticket.

@ghost
Copy link

ghost commented Jan 9, 2023

Close this as abandoned?

@parroty
Copy link
Owner

parroty commented Jan 17, 2023

Hi. Are you still observing the issue? I was assuming it was resolved, but didn't have good chance to close this item.

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