|
|
|
date: 16 Feb 2007 06:19:13 -0800,
group: microsoft.public.exchange2000.development
back
Re: WebDav fails trying to get messages with special characters in the subject
"Joe" wrote in message
news:1171989242.076533.85520@s48g2000cws.googlegroups.com...
> On Feb 20, 9:11 am, "Lee Derbyshire [MVP]" <email a@t leederbyshire
d.
> 0.t c.0.m> wrote:
>
> > I can only suggest installing Exchange Explorer from the SDK onto
your
> > server. You can use this to see what the URL should be, and
compare
> > it with what you are using. There is a basic relationship between
the
> > subject and the URL, but it is not always consistent, so just
> > URL-encoding the subject is not a reliable way of getting the
message
> > URL.
>
> Installing anything on the server isn't an option, unfortunately.
> It's a production mail server. I understand that the url isn't
> exactly the same as the subject. I am getting the message urls by
> querying the folder, and the ones without special characters work
fine
> (if they are not url encoded) so I am confident that I have the
> correct urls.
If you are sure that you have the correct URLs (i.e. you are getting
them from a search result, in which case they are already
URL-encoded), then something else must be in the way. It might be
something like URLScan (look for denied sequences in the URLScan.ini
file), or you are going through an ISA server which is being too
strict with the allowed sequences.
date: Tue, 20 Feb 2007 16:56:18 -0000
author: Lee Derbyshire [MVP] email a@t leederbyshire d.0.t c.0.m
Re: WebDav fails trying to get messages with special characters in the subject
"Joe" wrote in message
news:1172008153.411918.100580@t69g2000cwt.googlegroups.com...
> On Feb 20, 1:22 pm, "Joe" wrote:
>
> > Here's something I just noticed - when I url encode the urls, it
is
> > putting in plus signs for spaces instead of %20. Could this be
the
> > problem? I'm using HttpUtility.UrlEncode to do the encoding.
Should
> > I be doing it a different way?
>
> I got it now. I have to url encode it, and then change the pluses
to
> %20 and it works. Is there some url encode function that will do
this
> correctly?
I only ever use VBScript, so I don't know how to use the
HttpUtility.UrlEncode that you mention. In VBScript, I would try to
replace the + with a %20 like this:
strURL = Replace(strURL, "+", "%20")
Perhaps you can find an equivalent?
Lee.
--
_______________________________________
Outlook Web Access For PDA , OWA For WAP
www.owapda.com
email a@t leederbyshire d.0.t c.0.m
_______________________________________
date: Wed, 21 Feb 2007 13:38:31 -0000
author: Lee Derbyshire [MVP] email a@t leederbyshire d.0.t c.0.m
|
|