Matt Raible created ROL-1998:
--------------------------------
Summary: Allow both HTTP and HTTPS by using // instead of schema://
Key: ROL-1998
URL: https://issues.apache.org/jira/browse/ROL-1998
Project: Apache Roller
Issue Type: Improvement
Components: User Interface - General
Affects Versions: 5.0.3
Reporter: Matt Raible
Assignee: Roller Unassigned
On http://raibledesigns.com, I'd love to be able to serve up my site with both
HTTP and HTTPS. I've found that the easiest way to do this (in a web browser)
is to use schema-less URLs (// instead of http://). However, many of the Roller
macros use the Absolute URL's value to construct their URL.
I tried using "//raibledesigns.com" as an absolute URL, but this didn't work.
You can see the issues I encountered on the Roller mailing list:
http://markmail.org/message/wpmqspvapb2p5lx5
As a workaround for many URLs, I was able to append ".replace('https://', '')"
in my theme. However, there were a number of them I was unable to change b/c
they're embedded in macros.
Atom/RSS Feeds
OpenSearch
Category Links (#showWeblogCategoryLinksList)
Page Links (#showPageMenu)
Recent Entries (#showWeblogEntryLinksList)
Read More
RDF Comment
$url.home
$url.feed.entries.atom
$url.tag
For Atom/RSS feeds, I can see why the Absolute URL is important. However, for
the HTML-rendered version, it'd be great if the schema from the browser's
address bar could be used.
--
This message was sent by Atlassian JIRA
(v6.2#6252)