mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Fix FTP over HTTP authentication request parsing
This commit is contained in:
1 parent
3198f1614f
commit
4ca8988831
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -461,7 +461,7 @@ for(;;){
|
||||
}
|
||||
if(se)*se = '\r';
|
||||
}
|
||||
if(ftp && i > 19 && (!strncasecmp((char *)(buf+inbuf), "authorization", 19))){
|
||||
if(ftp && i > 13 && (!strncasecmp((char *)(buf+inbuf), "authorization", 13))){
|
||||
sb = (unsigned char *)strchr((char *)(buf+inbuf), ':');
|
||||
if(!sb)continue;
|
||||
++sb;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
#define VERSION "3proxy-0.8b-devel"
|
||||
#define BUILDDATE "150901150708"
|
||||
#define BUILDDATE "150901162209"
|
||||
Reference in new issue
Block a user