Pārlūkot izejas kodu

Fix FTP over HTTP authentication

Send WWW-Authenticate instead of Proxy-Authenticate

Conflicts:
	src/version.h
z3APA3A 10 gadi atpakaļ
vecāks
revīzija
de8de757f6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/proxy.c

+ 1 - 1
src/proxy.c

@@ -119,7 +119,7 @@ char * proxy_stringtable[] = {
 	"<body><h2>503 Service Unavailable</h2><h3>Your request violates configured policy</h3></body></html>\r\n",
 
 /* 16*/	"HTTP/1.0 401 Authentication Required\r\n"
-	"Proxy-Authenticate: basic realm=\"FTP Server\"\r\n"
+	"WWW-Authenticate: basic realm=\"FTP Server\"\r\n"
 	"Proxy-Connection: close\r\n"
 	"Content-type: text/html; charset=us-ascii\r\n"
 	"\r\n"