[ckan-changes] [ckan/ckan] 759a6f: [#1632] Use protocol from request when calling the...
GitHub
noreply at github.com
Fri Jun 13 14:36:19 UTC 2014
Branch: refs/heads/1632-data-root-url-https
Home: https://github.com/ckan/ckan
Commit: 759a6f8d84b478652b7990b4cf99998a9f67b5c8
https://github.com/ckan/ckan/commit/759a6f8d84b478652b7990b4cf99998a9f67b5c8
Author: amercader <amercadero at gmail.com>
Date: 2014-06-13 (Fri, 13 Jun 2014)
Changed paths:
M ckan/lib/helpers.py
Log Message:
-----------
[#1632] Use protocol from request when calling the h.url function
This will add the correct scheme to the generated url, otherwise the
function always returned `http` even when running under `https`.
Ultimately this caused problems with some JS not being loaded because of
Same Origin policy issues, as some AJAX call use the value of the
`data-site-root` attribute on the body tag, which is populated with
`h.url()`.
More information about the ckan-changes
mailing list