Open massa opened 4 years ago
Ping?
It would be good to get a test on this as I'd like to understand the scenario where this becomes a problem.
@massa could you please provide a test for this change? :)
Hi @sergot ... I will try to do this today or tomorrow. The problem is that the error only occurs with an active proxy.
Everytime I tried to conect via a proxy, I was getting a
400 Bad Request
error. Debugging the problem, I found out that theStr
method ofHTTP::Request
was ignoring the case where the$.file
field was a copy of the$.url
field and, because of it, started with"http"
. The connection was asking my proxy for aGET /http://etcetc