Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-785

Reverse mappings may fail for requests with standard ports

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.0.4
    • JCR Resource 2.0.4
    • JCR
    • None

    Description

      When creating reverse mappings URLs may be created which contain port numbers or not, depending on the initial mapping configuration. This is particulary problematic in cases, where the default port (80 for http and 443 for https) is used, which may be set in requests or not.

      In the incoming URI resolution, this issue is solved by always using the set port, if the URI does not set it a default is assumed as per the scheme.

      The same logic may be applied for reverse mapping, which then would generate valid URLs, yet they would all include the default port, which is not nice.

      Better would be to not use default port specification in outgoing requests.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: