Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1998

Allow both HTTP and HTTPS by using // instead of schema://

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 5.0.3
    • None
    • None
    • raibledesigns.com

    Description

      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.

      Attachments

        Activity

          People

            roller_unassigned Roller Unassigned
            mraible Matt Raible
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: