Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25683

Support IO uris without schemes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0-beta1
    • Component/s: None
    • Labels:
      None

      Description

      The current Url Decorator does not allow the usage of URIs without a defined scheme. These are treated as relative instead.

      eg.:

      //static.example.com will be turned into /static.example.com by the decorator instead of leaving it as is.

      Since PHP 5.4.7 parse_url correctly returns host when there is no scheme defined.

      One use case is to allow CDN URIs which would use the same URI scheme as the main page the user is browsing.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            skinn3r Peter Halasz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: