Mantis - Resin
Viewing Issue Advanced Details
1689 minor always 04-13-07 19:06 05-15-07 16:17
nam  
ferg  
normal  
closed 3.1.0  
fixed  
none    
none 3.1.2  
0001689: full Windows path in host regexp root-directory causes regexp to fail
(rep by S. Avogadro)

The following will NOT match any hosts:

<host regexp="([^:]+):8080">
  <host-name>${host.regexp[1]}</host-name>

  <root-directory>C:/foo</root-directory>

  <web-app id="/" document-directory="C:/bar/ROOT"/>
</host>

but the following will match hosts:

<host regexp="([^:]+):8080">
  <host-name>${host.regexp[1]}</host-name>

  <root-directory>foo</root-directory>

  <web-app id="/" document-directory="C:/bar/ROOT"/>
</host>

Notes
(0001925)
ferg   
05-15-07 16:17   
server/1f32