You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2014/05/26 19:42:01 UTC

[jira] [Closed] (ROL-1998) Allow both HTTP and HTTPS by using // instead of schema://

     [ https://issues.apache.org/jira/browse/ROL-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glen Mazza closed ROL-1998.
---------------------------

    Resolution: Not a Problem

Closing, Matt, as I put in my last comment I think our present options are good enough and the use case for this does not appear strong enough to absorb the potential for lost security and perception of Roller being less secure as a result.

> 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)