From a554a3d538133479b7f93f16374eb0b8923ca6ba Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 5 Jan 2011 13:47:35 -0400 Subject: reopening, reverting part of this for now --- ...ttp_or_https_in_urls_to_allow_serving_both.mdwn | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn') diff --git a/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn b/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn index b069ee2bd..55ff67d0c 100644 --- a/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn +++ b/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn @@ -1,3 +1,23 @@ +## current status + +99% of the way there, but: + +* CGI pages, with the exception of edit pages, set `` to + `$config{url}` +* When doing a Logout or Cancel, or when saving an edited page, + the user is returned to something derived from `$config{url}`. +* RecentChanges page may link to things derived from `$config{url}`. + +All of the above are because I had to revert `baseurl(undef)` to always +returning an absolute url, since relative urls caused breakage as seen in +[[preview_base_url_should_be_absolute]]. --[[Joey]] + +Ideally, baseurl would return an absolute url derived from the url +being used to access the cgi, but that needs access to the CGI object, +which it does not have. --[[Joey]] + +## old attempt + It looks like all links in websites are absolute paths, this has some limitations: * If connecting to website via https://... all links will take you back to http:// @@ -320,7 +340,7 @@ Potential future things: >> and 5 in plugins, since I used it for things like redirection back >> to the top of the wiki --[[smcv]] -[[merged|done]] --[[Joey]] +merged|done --[[Joey]] (But reopened, see above.) ---- -- cgit v1.2.3