Hello Team,
This is related best practice for setting the dispatcher filters ,
Suppose we have following two rules,
0001 { /type "allow" /glob "/bin/*" }
0002 { /type "allow" /url "/bin/*" }
What are the advantages and disadvantages of glob and url pattern in above case, which one is suggested ?
With both the rules is it possible to access URLs like , http://domain/bin/../libs/xyz/someresource or some other important resource in repo.
Solved! Go to Solution.
Views
Replies
Total Likes
As Configuring Dispatcher says, glob property is used to match with the entire request-line while url will just match with url element. Clearly, glob is more powerful that url.
Why would you want to abuse glob with just an element of the request? Per my knowledge, the recommended property is url in this case.
As Configuring Dispatcher says, glob property is used to match with the entire request-line while url will just match with url element. Clearly, glob is more powerful that url.
Why would you want to abuse glob with just an element of the request? Per my knowledge, the recommended property is url in this case.