Provide parse_http_url() with a third parameter to specify
[privoxy.git] / cgisimple.c
index a93e7bb..cdb96e8 100644 (file)
@@ -1,4 +1,4 @@
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.78 2008/05/03 16:50:11 fabiankeil Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.79 2008/05/04 13:30:56 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
@@ -36,6 +36,9 @@ const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.78 2008/05/03 16:50:11 fabian
  *
  * Revisions   :
  *    $Log: cgisimple.c,v $
+ *    Revision 1.79  2008/05/04 13:30:56  fabiankeil
+ *    Streamline parse_http_url()'s prototype.
+ *
  *    Revision 1.78  2008/05/03 16:50:11  fabiankeil
  *    Leverage content_filters_enabled() in cgi_show_url_info().
  *
@@ -1473,7 +1476,7 @@ jb_err cgi_show_url_info(struct client_state *csp,
       }
 
       memset(url_to_query, '\0', sizeof(url_to_query));
-      err = parse_http_url(url_param, url_to_query);
+      err = parse_http_url(url_param, url_to_query, REQUIRE_PROTOCOL);
       assert(url_to_query->ssl == !strncmp(url_param, "https://", 8));
 
       free(url_param);