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

REST api misses a way to access binary contents (except images)

    XMLWordPrintable

Details

    Description

      It seems that when a content with a binary attribute is accessed, the rest api responds giving the url pointing to var/storage/etc...

      This is wrong as:

      • default rewrite rules forbid access to that folder
      • giving end users access to that folder violates fully the policy system
      • it forces the user of the API to build by hand a "proper" url to content/download/xxx/yyy...
      • ...which uses a different auth system anyway

      Proper solution: extend the rest api with content/binary/etc...

      Attachments

        Activity

          People

            Unassigned Unassigned
            gaetano.giunta-obsolete@ez.no Gaetano Giunta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: