[mapserver-dev] Using backslash in CONNECTION parameter

Tamas Szekeres szekerest at gmail.com
Sun Mar 27 14:45:23 EDT 2011


I've tried that, but the double backslash is also stripped.

Tamas


2011/3/27 Stephen Woodbridge <woodbri at swoodbridge.com>

> On 3/27/2011 2:36 PM, Tamas Szekeres wrote:
>
>> Hi All,
>>
>> It seems there have been some changes when parsing the connections
>> strings in 6.0
>>
>> Formerly the following was working:
>> "server=.\MSSQL2008;database=Maps;Integrated Security=true" in the
>> CONNECTION parameter but currently the back slashes are stripped by the
>> lexer.
>>
>> I've checked out the migration guide but didn't find any useful
>> information in this topic.
>>
>> Any workarounds?
>>
>
> Did you try doubling the backslash? Typically a backslash is an escape
> character within a string it requires \\ to represent a single one.
>
> Steve L would probably have a better read on if this changed in the recent
> parser changes, but give that a try and see if it helps.
>
> -Steve W
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110327/f93e666e/attachment.html


More information about the mapserver-dev mailing list