]> git.pld-linux.org Git - packages/poldek.git/blob - poldek-uri-escape-fix.patch
- uri encoding bug workaround patch
[packages/poldek.git] / poldek-uri-escape-fix.patch
1 --- vfile/vfff/http.c.orig      2007-07-16 22:05:47.000000000 +0200
2 +++ vfile/vfff/http.c   2007-07-16 22:06:10.000000000 +0200
3 @@ -123,16 +123,8 @@
4  
5  static char *make_req_line(char *buf, int size, const char *method, const char *uri) 
6  {
7 -    char *escaped = NULL;
8 -    
9 -    if ((escaped = vfff_uri_escape(uri)))
10 -        uri = escaped;
11 -    
12      n_snprintf(buf, size, "%s %s HTTP/1.1\r\n", method, uri);
13  
14 -    if (escaped)
15 -        free(escaped);
16 -    
17      return buf;
18  }
19  
This page took 0.111875 seconds and 3 git commands to generate.