Plumbing ownership further; some things became C++
This commit is contained in:
@ -48,7 +48,7 @@
|
||||
#include <FL/Fl_Button.H>
|
||||
|
||||
#include "config.h"
|
||||
#include "dpiutil.h"
|
||||
#include "dpiutil.hh"
|
||||
#include "../dpip/dpip.h"
|
||||
|
||||
/*
|
||||
@ -320,7 +320,7 @@ DLItem::DLItem(const char *full_filename, const char *url, const char *user_agen
|
||||
|
||||
// BUG:? test a URL with ' inside.
|
||||
/* escape "'" character for the shell. Is it necessary? */
|
||||
esc_url = Escape_uri_str(url, "'");
|
||||
esc_url = dStrdup( Escape_uri_str(url, "'").c_str() );
|
||||
/* avoid malicious SMTP relaying with FTP urls */
|
||||
if (dStrnAsciiCasecmp(esc_url, "ftp:/", 5) == 0)
|
||||
Filter_smtp_hack(esc_url);
|
||||
|
||||
Reference in New Issue
Block a user