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
User-agent is not passing properly in some case #162
Comments
Thanks for letting me know! I'll take a look |
This looks strange because the only change to SafeCurl was to always add this header And SafeCurl never take the user agent defined in the graby config. Are you sure it's related to SafeCurl and not a change in graby for example? |
yes, I'm completely sure that latest safecurl causing the issue "j0k3r/safecurl": "*"
"j0k3r/safecurl": "2.0.2"
|
Yeah I understand your problem. But I don't know how to reproduce. I still need a snippet to reproduce the bug: a php snippet where you test that functionality isn't working anymore and how you check that. Once I'll get that piece of code I'll be able to fix the problem. |
I reverted the PR because we found other problem. Is there any chance you can provide me the PHP code you are using to reproduce the bug? |
I released SafeCurl 2.0.4 to fix the problem. |
After j0k3r/safecurl package was updated to 2.0.3 it appears that User-Agent string is not passing properly while retrieving remote URL.
I'm using this code:
reverting j0k3r/safecurl to previous version solves the issue
The text was updated successfully, but these errors were encountered: