I have a filter in webdefault.xml. In the filter, I can compare HOST header
value with a list of trusted host values. If the value in HOST header is
not in the list, I fail the http request.  The problem is that when 302
happens, the filter is not hit. For example, I have a web app say myweb.
http://host:port/myweb will be automatically redirected to
http://host:port/myweb/
by jetty. If HOST header is injected in http request  http://host:port/myweb,
since the filter is not hit, the request will be redirected to a site
specified in HOST header value.

What can I do about this?

Thank you.
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to