Uploaded image for project: 'Undertow'
  1. Undertow
  2. 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-cservice-bbaranow Bartosz Baranowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: