[mapserver-dev] Using backslash in CONNECTION parameter

Tamas Szekeres szekerest at gmail.com
Mon Mar 28 14:05:47 EDT 2011


Alan,

The trunk appears to be working, thanks. I have been testing with a couple
of revisions earlier.


Best regards,

Tamas



2011/3/28 Alan Boudreault <aboudreault at mapgears.com>

> 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
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110328/9f72f388/attachment.html


More information about the mapserver-dev mailing list