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

Copying a web page link w/o protocol in a Word paragraph leads to a 404 error

    XMLWordPrintable

Details

    Description

      Copying a web page link without protocol in a MS Word paragraph leads to a 404 error.

      Steps:

      1. Create a paragraph in Word and a web page link without protocol (example attached).
      2. Copy this paragraph into a Richtext field.
      3. Publish.
      4. Open that link from the published item in admin panel or on frontend.

      Actual: 404 error occurs
      in admin panel

      Could not find 'location' with identifier '0'
      

      on frontend

      No route found for "GET /onet.pl" (from "http://ez2.lh/new-article-1002")
      

      Remarks: When adding a link without protocol directly in the Richtext field protocol is prepended automatically.

      Attachments

        1. EZP-31371 1.png
          EZP-31371 1.png
          124 kB
        2. EZP-31371 2 admin.png
          EZP-31371 2 admin.png
          258 kB
        3. EZP-31371 3 FE.png
          EZP-31371 3 FE.png
          242 kB

        Activity

          People

            Unassigned Unassigned
            michal.szoltysek@ibexa.co Michał Szołtysek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: