mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
Fix FTP over HTTP authentication request parsing
This commit is contained in:
parent
3198f1614f
commit
4ca8988831
@ -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,2 +1,2 @@
|
||||
#define VERSION "3proxy-0.8b-devel"
|
||||
#define BUILDDATE "150901150708"
|
||||
#define BUILDDATE "150901162209"
|
||||
|
Loading…
Reference in New Issue
Block a user