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

Publishing not working on several http server/proxy/scanner solutions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16.02, Enablement Issues
    • Component/s: None
    • Labels:

      Description

      Our REST API v2 uses some exotic http verbs like PUBLISH, MOVE, COPY, SWAP, and the more common but still quite exotic PATCH.

      These things don't work on older, stricter configured, or less mature http servers, proxies or enterprise http scanning firewalls.

      This was already identified when REST API v2 was specified, so it was allowed to alternatively use POST and set these verbs using X-HTTP-Method-Override.

      To avoid issues with http security equipment at customer infrastructure (very common in banks, quite common in any "enterprise" setting), and to be able to support PHP's built in web server again for super simple eZ Platform setup; JS REST client should use POST and X-HTTP-Method-Override everywhere this is possible, to be on the safe side.

        Activity

        Hide
        Yannick Roger added a comment -
        Show
        Yannick Roger added a comment - André's PR: https://github.com/ezsystems/ez-js-rest-client/pull/72
        Hide
        Damien Pobel added a comment -

        Merged in master in https://github.com/ezsystems/ez-js-rest-client/commit/b4e6fbc4817d31dcbf6e2ffa42b049244e13de58

        @QA:
        ez-js-rest-client 1.2.0 contains this change and is part of PlatformUIAssetsBundle 2.0.0. So to test it, make sure PlatformUIAssetsBundle 2.0.0 is installed and then you should try various operations that were triggering HTTP requests with a non standard verb like publishing a content for instance.

        Show
        Damien Pobel added a comment - Merged in master in https://github.com/ezsystems/ez-js-rest-client/commit/b4e6fbc4817d31dcbf6e2ffa42b049244e13de58 @QA: ez-js-rest-client 1.2.0 contains this change and is part of PlatformUIAssetsBundle 2.0.0. So to test it, make sure PlatformUIAssetsBundle 2.0.0 is installed and then you should try various operations that were triggering HTTP requests with a non standard verb like publishing a content for instance.
        Hide
        Rui Silva added a comment -

        Tested and approved by QA for master.

        Show
        Rui Silva added a comment - Tested and approved by QA for master.

          People

          • Assignee:
            Unassigned
            Reporter:
            André Rømcke
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: