tchart Well-Known Member Licensed User Longtime User Jun 26, 2015 #1 Having use java Web servers before I realize Jetty is case sensitive when it comes to URLs (or is the handler the problem?) Is there a way to make it not care about case like IIS does? Thanks
Having use java Web servers before I realize Jetty is case sensitive when it comes to URLs (or is the handler the problem?) Is there a way to make it not care about case like IIS does? Thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 28, 2015 #2 You can add a filter that will catch all requests and change the url to lower case. Upvote 0
tchart Well-Known Member Licensed User Longtime User Jun 28, 2015 #3 Thanks Erel. I've moved all of my URL's to just use lower case for now. I however did see (during my searches) that setting setCheckAliases to true will remove cases sensitivity but I noticed this method isn't available in your Jetty library (i.e. its missing under org.eclipse.jetty.util.resource.FileResource) Upvote 0
Thanks Erel. I've moved all of my URL's to just use lower case for now. I however did see (during my searches) that setting setCheckAliases to true will remove cases sensitivity but I noticed this method isn't available in your Jetty library (i.e. its missing under org.eclipse.jetty.util.resource.FileResource)
Erel B4X founder Staff member Licensed User Longtime User Jun 29, 2015 #4 This is relevant to file resources only (and will only be case insensitive on Windows). Upvote 0