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

Remove the broken storeFrontendReferer() method #1712

Merged
merged 2 commits into from
May 8, 2020

Conversation

leofeyer
Copy link
Member

@leofeyer leofeyer commented May 8, 2020

As discussed in #1654 and in yesterdays Mumble call, the StoreRefererListener::storeFrontendReferer() method is broken and did never actually store anything. This PR therefore removes the method.

@contao/developers I think we also have to backport this to Contao 4.4, don't we?

@leofeyer leofeyer added the bug label May 8, 2020
@leofeyer leofeyer added this to the 4.9 milestone May 8, 2020
@leofeyer leofeyer requested a review from a team May 8, 2020 08:43
@leofeyer leofeyer self-assigned this May 8, 2020
} else {
$this->storeFrontendReferer($request);
}
$this->storeBackendReferer($request);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you want to store the back end referer in the front end …

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True. 😊 Fixed in 0e28035.

@leofeyer leofeyer requested a review from aschempp May 8, 2020 08:59
@leofeyer leofeyer merged commit e7b69e1 into contao:4.9 May 8, 2020
@leofeyer leofeyer deleted the fix/store-front-end-referer branch May 8, 2020 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants