diff options
author | jcid <devnull@localhost> | 2008-09-14 15:10:41 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-09-14 15:10:41 +0200 |
commit | 4272ccda16b3d6b8695f01eb3c6ea544a97cbf54 (patch) | |
tree | fe04b225b6adeecc2fce18d175368efa6ff89c94 /src/IO/http.c | |
parent | f6940d9ad7ee28c7226b8e66798fb9537ae3e238 (diff) |
- Forbid dpi GET and POST from non dpi-generated urls.
- Cleaned up a_Url_new().
Diffstat (limited to 'src/IO/http.c')
-rw-r--r-- | src/IO/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IO/http.c b/src/IO/http.c index ec87a7a4..33236b52 100644 --- a/src/IO/http.c +++ b/src/IO/http.c @@ -81,7 +81,7 @@ int a_Http_init(void) char *env_proxy = getenv("http_proxy"); if (env_proxy && strlen(env_proxy)) - HTTP_Proxy = a_Url_new(env_proxy, NULL, 0, 0, 0); + HTTP_Proxy = a_Url_new(env_proxy, NULL); if (!HTTP_Proxy && prefs.http_proxy) HTTP_Proxy = a_Url_dup(prefs.http_proxy); |