Uploaded image for project: 'Proxied content'
  1. Proxied content
  2. PROXIEDCONTENT-13

External Page (embeded) does not support relative image path

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.10.0
    • 2.2.0
    • None
    • 4.1RC1

      If an external page is embeded and contains absolute image paths, the paths are translated and image is displayed.

      If relative paths are used, the path is not translated and there is an error 500.

       

      Example : embed https://mammifere.fr which is a page containing just an image with a relative path.

      When embedded, the image path become

      http://localhost:8080/cms/plugins/proxied-content/proxy?url=https%3A%2F%2Fmouton_souriant.jpg&zoneitemid=zoneItem%3A%2F%2F677b274f-13e3-464a-9e3c-281befc26d76

      instead of

      http://localhost:8080/cms/plugins/proxied-content/proxy?url=https%3A%2F%2Fmammifere.fr/mouton_souriant.jpg&zoneitemid=zoneItem%3A%2F%2F677b274f-13e3-464a-9e3c-281befc26d76
      

      or directly

      https://mammifere.fr/mouton_souriant.jpg
      

      (as done with absolute image paths)

            Unassigned Unassigned
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: