Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2474

When in a wiki with URL http://<host>/, URL factory generate "secure" wikis URLs as https://<host>:80/ in place of https://<host>/

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.5 M2, 1.4.2
    • 1.4.1
    • {Unused} Core
    • None
    • patch

    Description

      My main wiki is https://abc.zzz.fr (but the "secure" setting is 0, the https is managed in Apache in front of Tomcat).
      When I created a new wiki with domain "abc.zzz.fr/test2" creation was OK, but the proposed URL is :
      "http://abc.zzz.fr/test2/xwiki/bin/view/Main".
      So I put the "Secure" setting to 1 and save, and then the proposed URL is :
      "https://abc.zzz.fr/test2:80/xwiki/bin/view/Main".

      Good for the "https", but why ":80" is added to the wiki name ?
      I know that kind of domain is not supported now, but I just don't understand : If I check "secure", I don't need to be redirected to the 80 port.

      Then I tried to add a new wiki on another sub-domain : "test3.zzz.fr", and after checking the "secure" to 1, I get the URL :
      "https://test3.zzz.fr:80/xwiki/bin/view/Main/". Same problem.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            gaetan Gaetan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: