-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
URIs on WDTK pages should be relative #692
Comments
Working my way through the links on the site and changing them to relative urls (in Rails world using _path rather than _url helpers) with the exception of:
Leaving this so that the proxying setup (which I haven't actually used) for the admin interface will still work. However, if we're going to have the option of serving the whole site over ssl it would be great to not have to support this. Then, we could systematically make the internal links all relative and get rid of @crowbot what do you think about removing support for the proxying access to the admin interface? (after issue #684 is done) |
+1 for removing the proxying admin access! With my "back when I wrote it" hat on, it was just to avoid us buying Nowdays, really the main WhatDoTheyKnow website should be all on So I propose:
Francis On Tue, Feb 12, 2013 at 08:19:21PM -0800, Matthew Landauer wrote:
|
Yep, let's plan to stop proxying once we're able to run the whole site over https. We already have the certificate for this. |
Closed in fc770ee. |
Some URIs returned by WDTK are relative, but others are absolute (e.g. 'Sign in or sign up' is http://www.whatdotheyknow.com/profile/sign_in?r=%2F). This means that a simple HTTPS redirect in front of the site won't work because absolute URIs will still use HTTP.
We could rewrite the HTML on the fly, but I'd like to avoid this processing overhead if possible.
The text was updated successfully, but these errors were encountered: