Unescaping given URL
git-svn-id: svn://10.0.0.236/trunk@118864 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
20e89a8c29
commit
4527b48616
@ -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 );
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user