Message262803
| 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:16 | martin.panter | set | recipients:
+ martin.panter, xiang.zhang |
| 2016年04月02日 23:03:16 | martin.panter | set | messageid: <1459638196.8.0.949317820263.issue26609@psf.upfronthosting.co.za> |
| 2016年04月02日 23:03:16 | martin.panter | link | issue26609 messages |
| 2016年04月02日 23:03:16 | martin.panter | create |
|