From a70f86834faadff21d48e7039e21c2b481c6a42e Mon Sep 17 00:00:00 2001 From: "mostafah%oeone.com" Date: Fri, 12 Apr 2002 16:25:27 +0000 Subject: [PATCH] Unescaping given URL --- calendar/libxpical/oeICalImpl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calendar/libxpical/oeICalImpl.cpp b/calendar/libxpical/oeICalImpl.cpp index 4493bc440ee..8af5a78a2a3 100644 --- a/calendar/libxpical/oeICalImpl.cpp +++ b/calendar/libxpical/oeICalImpl.cpp @@ -50,6 +50,7 @@ #include "nsString.h" #include "nsIURL.h" #include "nsNetCID.h" +#include "nsEscape.h" extern "C" { #include "icalss.h" @@ -644,6 +645,7 @@ oeICalImpl::SetServer( const char *str ) { url->SetSpec( filePath ); url->GetFilePath( filePath ); strcpy( serveraddr, filePath.get() ); + NS_UnescapeURL( serveraddr ); } else strcpy( serveraddr, str );