Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-28299

(7.4.z) UNDERTOW-2256 - Resource predicate presentation differs depending on how it is set up

XMLWordPrintable

      There seems to be a difference in UX in 'resource' predicate render depending on how it is used.

      "path-prefix(/foo)-> { set(attribute=%U,value=${remaining}); resource(location='/home/baranowb/redhat/tmp/test-dir',allow-listing=true) }"
      

      resource_with_uri_alter.png
      vs

      "path-prefix(/foo2)-> resource(location='/home/baranowb/redhat/tmp/test-dir2',allow-listing=true)"
      

      resource_no_uri_alter.png

      Possible source of this might be: https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/server/handlers/resource/DirectoryUtils.java#L98 ?

              dkafe Dimitris Kafetzis
              rhn-engineering-lgao Lin Gao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: