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...
Upon more investigation, it turns out that the problem is as follows:
"bzr branch http:// users.skynet. be/Pierre. Brukier/ anum/projet" requests (POST) Brukier/ anum/projet/ .bzr/smart" from "users.skynet.be" hostingerrors. isp.belgacom. be/Errors. cgi?url= http:// users.skynet. be/Pierre. Brukier/ anum/projet/ .bzr/smart" cgi/.bzr/ smart" is requested (POST) from "hostingerrors. isp.belgacom. be", which fails with 404 (this is ok). 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.
"/Pierre.
which redirects to "http://
The redirection is followed: "/Errors.
Now, the problem is that "/Errors.
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...