Hi. The following patch, recently added to the darcs repo, breaks Referer headers when POSTing forms:
Mon Jun 4 10:54:22 EEST 2007 [EMAIL PROTECTED] * updated mechanize to latest For a demonstration of this, see the following requests, logged by my server-side app. Format is request, status, referer. Note how it keeps the same referer even after a code 200 page -- sure the /add should get a referer of /search/ "GET / HTTP/1.1" 200 "-" "POST /freeform_post!!go HTTP/1.1" 302 "http://localhost:38980/" "GET /ou%3DPeople%2Cdc%3Dexample%2Cdc%3Dcom HTTP/1.1" 302 "http://localhost:38980/freeform_post!!go" "GET /ou%3DPeople%2Cdc%3Dexample%2Cdc%3Dcom/ HTTP/1.1" 302 "http://localhost:38980/freeform_post!!go" "GET /ou%3DPeople%2Cdc%3Dexample%2Cdc%3Dcom/search HTTP/1.1" 302 +"http://localhost:38980/freeform_post!!go" "GET /ou%3DPeople%2Cdc%3Dexample%2Cdc%3Dcom/search/ HTTP/1.1" 200 +"http://localhost:38980/freeform_post!!go" "GET /ou%3DPeople%2Cdc%3Dexample%2Cdc%3Dcom/add HTTP/1.1" 200 +"http://localhost:38980/freeform_post!!go" -- :(){ :|:&};: _______________________________________________ twill mailing list [email protected] http://lists.idyll.org/listinfo/twill
