Mark,

On 1/16/17 6:24 AM, Mark Thomas wrote:
> For the background see:
> https://github.com/spring-projects/spring-boot/issues/7949
> 
> The short version is:
> 
> * is seen as a wild card in some environments.
> 
> The options are:
> $ & ' ( ) * , - . : ; @ _ ~
> (all followed by /)

Obviously you can't use "." since that is in 99% of WAR filenames. The
";" character is used for file-versions in VMS. I'm not sure how many
VMS environments are running Tomcat, but ... it's a thing. Hyphen (-)
and underscore (_) are probably too popular. I'd say that $ & : @ * are
good contenders. But we are trying to replace * no?

> Ideally we want a character that:
> - is unlikely to appear in a file name (particularly at the end)
> - does not have a special meaning that could conflict when using it in
> combination with / in a URI to mark the start of the internal WAR path.
> 
> Thoughts, comments, reasons for excluding one or more of these
> characters welcome.

So you want a character that can be used in the WAR file name that
converts to a "*" in the context-path? Or you want a character in a
war:// URL that can be used as the barrier between the physical filename
and the logical file within the WAR file? If the latter, what's wrong
with the jar:// usage of "!/" ?

We are already using # for / and IMO that can be buggy since # has
meaning in URLs. What about using an escape-character instead of a stand-in?

-chris



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to