[mapserver-dev] Using backslash in CONNECTION parameter

Alan Boudreault aboudreault at mapgears.com
Sun Mar 27 19:53:49 EDT 2011


Single backslash and double backslash should be supported.... I did a fix for 
Windows path last week. Are you working with svn-trunk?

Alan

On March 27, 2011 02:45:23 pm Tamas Szekeres wrote:
> 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


More information about the mapserver-dev mailing list