Comment 9 for bug 129307

Revision history for this message
ChriS (christophe-troestler) wrote :

Upon more investigation, it turns out that the problem is as follows:

"bzr branch http://users.skynet.be/Pierre.Brukier/anum/projet" requests (POST)
    "/Pierre.Brukier/anum/projet/.bzr/smart" from "users.skynet.be"
which redirects to "http://hostingerrors.isp.belgacom.be/Errors.cgi?url=http://users.skynet.be/Pierre.Brukier/anum/projet/.bzr/smart"
The redirection is followed: "/Errors.cgi/.bzr/smart" is requested (POST) from "hostingerrors.isp.belgacom.be", which fails with 404 (this is ok).
Now, the problem is that "/Errors.cgi/.bzr/branch-format" is requested (GET) from "hostingerrors.isp.belgacom.be" instead of the original host! This is not fine as the redirect was meant only for ".bzr/smart" and not for all subsequent URLs.

I am not sure why this decision was taken but, at least in the case the redirection eventually returns a 404 error, the original transport should not be changed...