[mapserver-dev] Double backslashes in Windows UNC pathnames should be escaped by the mapfile writer.
thomas.bonfort at gmail.com
Sun Sep 1 02:13:37 PDT 2013
I've transformed your issue into a pull request that writes double
backslashes when a backslash is found. It's applied to all string
writing operations as I see no reason as to why this should only be
limited to CONNECTION and DATA.
I'll let you apply it once you've tested it. If we had any mapscript
testers this should probably warrant for a beta3 rather than an RC,
however as I feel this is not the case, going for a beta3 would only
delay our release. thoughts?
On 30 August 2013 12:51, Tamas Szekeres <szekerest at gmail.com> wrote:
> I've added issue 4747 regarding to the UNC pathnames on Windows which is not
> handled correctly by the mapfile writer. Actually the double backslashes are
> written directly to the file (without escaping) while the parser reads only
> one backslash in this case. Do you think it could be fixed by simply
> replacing the backslashes with double backslashes when writing the file (for
> example in the CONNECTION and DATA sections)?
> Best regards,
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
More information about the mapserver-dev