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

Referer doesn't change if the initial request is redirected #207

Open
spazm opened this issue May 8, 2017 · 0 comments
Open

Referer doesn't change if the initial request is redirected #207

spazm opened this issue May 8, 2017 · 0 comments

Comments

@spazm
Copy link
Contributor

spazm commented May 8, 2017

[email protected] reported on Jan 30, 2012

What steps will reproduce the problem?
1. "get" a link (say A) which redirects to another page (say B).
2. "follow_link" on page B to the page C.

What is the expected output? What do you see instead?

The page C should get B in "Referer" header. Instead, it gets A.

What version of the product are you using? On what operating system?

WWW::Mechanize 1.71
Perl 5.12.4
Ubuntu 11.10

Please provide any additional information below.

A test case using URL shorteners is attached. It should show the Referer as http://preview.tinyurl.com/6435yb (B in the explanation) because that is the page on which the link is clicked, not http://bit.ly/zgSLNp (A in the explanation) which is the original URL.

Details

Imported from Google Code issue 230 via archive

  • Type: Defect
  • Date: Jan 30, 2012
  • Reporter: [email protected]
  • Owner: ----
  • Priority: Medium
  • Status: New
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

No branches or pull requests

1 participant