Skip to content

adding "only_path" to url_for calls in init.rb to return relative URL and omit protocol. This is due to issue #6 (https://github.com/dhanasingh/redmine_wktime/issues/6), where an error is reported that http content cannot be loaded over https.#9

Open
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jan 13, 2015

This pull request adds "only_path" to url_for() calls in init.rb so that a relative URL (with protocol omitted) is returned. Without this fix, the URL returned is http, even though Redmine is run over https, and even though the protocol in Administration -> Settings is set to https. So this fix will honor what is configured by the site. Without this fix, in Chrome the spinner never disappears when viewing tickets because that error causes the ajax request to never 'complete'.

This was raised by issue #6

@ghost ghost changed the title adding "only_path" to url_for calls in init.rb to return relative URL an... adding "only_path" to url_for calls in init.rb to return relative URL and omit protocol. This is due to issue #6 (https://github.com/dhanasingh/redmine_wktime/issues/6), where an error is reported that http content cannot be loaded over https. Jan 13, 2015
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.

1 participant