Message9428
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 | calvin |
|---|---|
| Recipients | |
| Date | 2002-02-27.14:11:20 |
| SpamBayes Score | |
| Marked as misclassified | |
| Message-id | |
| In-reply-to |
| Content | |
|---|---|
Logged In: YES
user_id=9205
Patch is not good:
>>> print RuleLine("/tmp", 0).applies_to("/")
1
>>>
This would apply the filename "/" to rule "Disallow: /tmp".
I think it should be:
return self.path=="*" or filename.startswith(self.path) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-08-23 13:59:28 | admin | link | issue523041 messages |
| 2007-08-23 13:59:28 | admin | create | |