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

Issue with Google Chrome #1

Open
n0guest opened this issue May 26, 2015 · 0 comments
Open

Issue with Google Chrome #1

n0guest opened this issue May 26, 2015 · 0 comments

Comments

@n0guest
Copy link

n0guest commented May 26, 2015

I've found unexpected behaviour of Google Chrome/Chromium.

When you first time will open your redmine, Google Chrome will send request for opeansearch.xml. But if your redmine require authentication, then Chrome will receive 302 redirect instead of 200 and content of requested file. And modern versions of Chrome will not try again to request opensearch.xml. So your plugin will be unusable. Even reset of user profile will not fix this (i.e. deleting history, cookies, etc). Only deleting folder with user data will help.

Don't sure, that i've found correct solution. This fix can be wrong for security reasons. But it can be fixed by adding this in beginning of opensearch_controller.rb:

  skip_before_filter :check_if_login_required, :only => [:xml]
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