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

base URL not respected <base href="..." /> #227

Open
internationils opened this issue Jun 28, 2017 · 1 comment
Open

base URL not respected <base href="..." /> #227

internationils opened this issue Jun 28, 2017 · 1 comment
Labels

Comments

@internationils
Copy link

internationils commented Jun 28, 2017

WWW::Mechanize does not respect <base href="...">
See https://gist.github.com/motemen/846251 for details
This applies to ->base and ->url_abs (at least)

@haarg
Copy link
Member

haarg commented Jun 28, 2017

This looks like the same issue as libwww-perl/libwww-perl#216. WWW::Mechanize only makes a difference because it adds a "Accept-Encoding: gzip" header by default. The handling for <base> doesn't understand the encoded content.

@petdance petdance added the bug label Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants