Comment 0 for bug 855709

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

In modules/org/expath/ns/file.xq line 739, the line that reads:

if (matches($path, concat("^\", $delim, "+$"))) then

constructs an invalid regular expression when $delim is '/' as it would be on a Unix system. Only explicitly permitted characters may be escaped and '/' isn't one of them.