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

validate external links with customized http code handling

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Confirmed
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 5.4.1
    • Fix Version/s: Customer request
    • Component/s: Cronjobs
    • Labels:
      None

      Description

      The external urls are checked periodically with the linkcheck cronjob.the verification for valid/invalid is based directly on the success of a curl request to the external url.

      currently, this curl request just returns success/failure based on the HTTP codes of the response. so, any error marks the url as invalid, with the consequence of disabling the ezURL object.

      customization of the choice should be possible, for example for the 401,403,503,504 http codes. it would be good to let an external link stay valid if a 503 or 401 is the result, even though it's an "error by specification"

      an idea is to implement a setting as an array with the HTTP codes to whitetist.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              paulo.bras@ez.no Paulo Bras (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: