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

Wrong config calls for cookie settings in languagefilter and logout plugin #2773

Merged
merged 2 commits into from Jun 3, 2014

Conversation

Bakual
Copy link
Contributor

@Bakual Bakual commented Jan 8, 2014

This PR fixes two issues related to cookie settings in global configuration

  • The languagefilter and logout plugins were looking for the config parameters config.cookie_domain and config.cookie_path. The correct call is without the config. part.
  • There were some places where the cookie_path parameter didn't fetch the correct default value /. Together with SEF turned on, this could result in cookies only being valid for a submenu of the page since the path was taken from the current URL instead from root.

@Bakual
Copy link
Contributor Author

Bakual commented Jan 8, 2014

@infograf768
Copy link
Member

Indeed, obvious error.

infograf768 added a commit that referenced this pull request Jun 3, 2014
Wrong config calls for cookie settings in languagefilter and logout plugin
@infograf768 infograf768 merged commit 4c1b1dc into joomla:staging Jun 3, 2014
@Bakual Bakual deleted the CookieSettings branch June 3, 2014 10:26
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.

None yet

2 participants