Mark Fletcher wrote:
> In my (Windows) environment, these variables return a path that starts
> with 'file:/', rather than 'file:///'  Is this by design? (The doc shows
> examples in both forms.) I'm wondering because if I try and use conrefs
> in this form, the toolkit complains that it can't find the referenced file.
>  
> I know there are 'FILEREF' parameters in the toolkit xsl where you can
> identify your preferred form of this path. Their values are currently
> set to "file://". I think I could work around this issue if I changed
> them to "file:", but I want to find out if this is an XXE bug first.
>  

To my knowledge,

[a] file:absolute_path_starting_with_a_slash and
[b] file://absolute_path_starting_with_a_slash

e.g.

file:/C:/Program%20Files/XMLmind/XML_Editor/preferences.properties
and
file:///C:/Program%20Files/XMLmind/XML_Editor/preferences.properties

are both correct.

We would have preferred [b] but *Java* always generates [a]. Therefore
there is not much we can do.


Reply via email to