This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter, xiang.zhang
Date 2016-04-02.23:03:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459638196.8.0.949317820263.issue26609@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps tempdir_name could get the slash prefixed in setUp() rather than in every test. There is one case that creates index.html which could probably be changed to use self.tempdir, and then the rest could be renamed to say self.base_url.

Rejecting requests that do not start with a slash could be a compatibility problem. Do you think potential security benefits (i.e. having unexpected variations on the format of the URL) outweigh that?

Either way, it would be good to retain a test without a slash.
History
Date User Action Args
2016-04-02 23:03:16martin.pantersetrecipients: + martin.panter, xiang.zhang
2016-04-02 23:03:16martin.pantersetmessageid: <1459638196.8.0.949317820263.issue26609@psf.upfronthosting.co.za>
2016-04-02 23:03:16martin.panterlinkissue26609 messages
2016-04-02 23:03:16martin.pantercreate