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

404 errors within the REST prefix should be valid REST 404

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.1
    • Fix Version/s: 5.2-alpha1
    • Component/s: Platform > REST API v2
    • Labels:
      None

      Description

      Requests within the REST prefix that don't match any REST route will be routed with legacy, and get a 404 that isn't REST aware at all.

      Make sure that any request within /api/ezp/v2 will be a proper 404, in the requested format (JSON or XML).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              bertrand.dunogier@ez.no Bertrand Dunogier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 3 hours Remaining Estimate - 30 minutes
                  30m
                  Logged:
                  Time Spent - 3 hours Remaining Estimate - 30 minutes
                  3h