version 1.99, 2000/06/27 10:27:06
|
version 1.100, 2000/06/27 14:44:39
|
Line 20
|
Line 20
|
|
|
#include "init_f.h" |
#include "init_f.h" |
#include "AHTURLTools_f.h" |
#include "AHTURLTools_f.h" |
|
#include "query_f.h" |
|
|
#define MAX_PRINT_URL_LENGTH 50 |
#define MAX_PRINT_URL_LENGTH 50 |
typedef struct _HTURI { |
typedef struct _HTURI { |
Line 614 const STRING path;
|
Line 615 const STRING path;
|
return FALSE; |
return FALSE; |
|
|
if ((!ustrncmp (path, TEXT("http:"), 5) != 0) |
if ((!ustrncmp (path, TEXT("http:"), 5) != 0) |
|| !ustrncmp (path, TEXT("ftp:"), 4) |
|| (AHTFTPURL_flag () && !ustrncmp (path, TEXT("ftp:"), 4)) |
|| !ustrncmp (path, TEXT("internal:"), 9)) |
|| !ustrncmp (path, TEXT("internal:"), 9)) |
return TRUE; |
return TRUE; |
return FALSE; |
return FALSE; |
Line 697 const STRING url;
|
Line 698 const STRING url;
|
{ |
{ |
if (!ustrncmp (url, TEXT("http:"), 5) |
if (!ustrncmp (url, TEXT("http:"), 5) |
|| !ustrncmp (url, TEXT("internal:"), 9) |
|| !ustrncmp (url, TEXT("internal:"), 9) |
|| !ustrncmp (url, TEXT("ftp:"), 4)) |
|| (AHTFTPURL_flag () && !ustrncmp (url, TEXT("ftp:"), 4))) |
/* experimental */ |
/* experimental */ |
/*** || !strncmp (url, "ftp:", 4) ***/ |
|
/*** || !strncmp (path, "news:", 5)***/ |
/*** || !strncmp (path, "news:", 5)***/ |
return (TRUE); |
return (TRUE); |
else |
else |