Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-4461

Trailing '/' in excluded_uri_prefixes is ignored

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Customer request, 4.4.1, 3.3.31, 4.3.4
    • 4.3.1, 3.3.29
    • None
    • None
    • Ibexa Commerce, Ibexa Content, Ibexa Experience, Ibexa Open Source

    Description

      Steps to reproduce:
      (clean Ibexa DXP 4.x)

      • Add Folder 'Foo Campaign' below root Landing Page
      • Add Folders Images-Foo and Images-Foo-Bar below 'Media'
      • Create one Image Content Item below /Media/Images-Foo (Name Should be 'Test')
      • Create one Image Content Item below /Media/Images-Foo-Bar (Name Should be 'Test')

      Add yaml config:

      foo_site.yaml
      ibexa:
          siteaccess:
              list: [foo-campaign]
              groups:
                  site_group: [foo-campaign]
              match:
                  Map\URI:
                      foo: foo-campaign
          system:
              foo-campaign:
                  content:
                      tree_root:
                          # LocationId of "Foo Campaign"
                          location_id: 68
                          excluded_uri_prefixes: [ /media/images-foo/ ]
      

      Open URLS:
      https://[host]/foo/media/images-foo/test
      https://[host]/foo/media/images-foo-bar/test

      Result:
      Both URLs are resolved and Content Items are shown

      Expected:
      Second URL should not be resolved in foo-campaign Site Acccess as /media/images-foo-bar/ is not in excluded_uri_prefixes

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              thorsten.reiter@ibexa.co Thorsten Reiter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: