mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Unescaping given URL
This commit is contained in:
parent
e92f1ba663
commit
31140bf590
@ -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…
Reference in New Issue
Block a user