|
|
|
date: Fri, 16 Nov 2007 10:57:01 -0800,
group: microsoft.public.exchange2000.development
back
WebDAV can not search directory with specific character??
Hi All,
I have a customer, which create a public folder with specific character in
foder name, let me see, "contacts & test",
when I do search with webdav.
It always return 400 Error,
I have checked Miscrosoft Exchange SDK said unsupported character, which
includes " & ", however, my customer has this specific character in it.
Is there any body meet this problem? please help me!!
My query string are :
<?xml version='1.0'?><searchrequest xmlns='DAV:' ><sql>SELECT
"http://schemas.microsoft.com/exchange/category" "DAV:displayname" FROM
SCOPE('SHALLOW TRAVERSAL OF "http://192.168.0.13/public/contacts 0x26 test"')
WHERE "DAV:isfolder"=true and "DAV:ishidden"=false </sql></searchrequest>
<?xml version='1.0'?><searchrequest xmlns='DAV:' ><sql>SELECT
"http://schemas.microsoft.com/exchange/category" "DAV:displayname" FROM
SCOPE('SHALLOW TRAVERSAL OF "http://192.168.0.13/public/contacts0 & test"')
WHERE "DAV:isfolder"=true and "DAV:ishidden"=false </sql></searchrequest>
both do not work.
Thanks in advanced!!
date: Fri, 16 Nov 2007 10:57:01 -0800
author: jeff
Re: WebDAV can not search directory with specific character??
You will need to URL-encode the folder name. I think the & character will
be replaced by %26 or %2526 .
Lee.
"jeff" wrote in message
news:62A45D6F-F9BC-408A-9C45-F922EA6B94B5@microsoft.com...
> Hi All,
>
> I have a customer, which create a public folder with specific character in
> foder name, let me see, "contacts & test",
>
> when I do search with webdav.
>
> It always return 400 Error,
>
> I have checked Miscrosoft Exchange SDK said unsupported character, which
> includes " & ", however, my customer has this specific character in it.
>
> Is there any body meet this problem? please help me!!
>
> My query string are :
>
> <?xml version='1.0'?><searchrequest xmlns='DAV:' ><sql>SELECT
> "http://schemas.microsoft.com/exchange/category" "DAV:displayname" FROM
> SCOPE('SHALLOW TRAVERSAL OF "http://192.168.0.13/public/contacts 0x26
> test"')
> WHERE "DAV:isfolder"=true and "DAV:ishidden"=false </sql></searchrequest>
>
> <?xml version='1.0'?><searchrequest xmlns='DAV:' ><sql>SELECT
> "http://schemas.microsoft.com/exchange/category" "DAV:displayname" FROM
> SCOPE('SHALLOW TRAVERSAL OF "http://192.168.0.13/public/contacts0 &
> test"')
> WHERE "DAV:isfolder"=true and "DAV:ishidden"=false </sql></searchrequest>
>
> both do not work.
>
> Thanks in advanced!!
date: Mon, 19 Nov 2007 13:19:31 -0000
author: Lee Derbyshire [MVP] email a@t leederbyshire d.0.t c.0.m
|
|