[mapserver-dev] Using backslash in CONNECTION parameter

Alan Boudreault aboudreault at mapgears.com
Mon Mar 28 08:15:35 EDT 2011


Tamas,

I just did a quick test and both work here. It may be a Linux/Windows issue 
but I wouldn't think so with the lexer code. Let me know if it still doesn't 
work with svn_trunk.

Alan

On March 27, 2011 07:53:49 pm Alan Boudreault wrote:
> 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
> 
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com


More information about the mapserver-dev mailing list