Issue Details (XML | Word | Printable)

Key: MODPYTHON-49
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Nicolas Lehuen
Reporter: Nicolas Lehuen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

publisher : new module loading mechanism does not allow omiting the '.py' extension

Created: 30/Apr/05 03:57 PM   Updated: 05/Mar/06 01:55 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

Environment: mod_python 3.2.0-dev-20050428

Resolution Date: 30/Apr/05 04:31 PM


 Description  « Hide
Before the fix for MODPYTHON-9, when you had a module named foobar.py in a published directory, you could access it with a request to /dir/foobar.py, but also with /dir/foobar (the .py was not required since we relied upon the import_module facilities). Now, /dir/foobar is not supported. For compatibility, we should support it and automagically find the proper module.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #165388 Sat Apr 30 07:18:54 UTC 2005 nlehuen Added a test for MODPYTHON-49.
Files Changed
MODIFY /httpd/mod_python/trunk/test/test.py

Repository Revision Date User Message
ASF #165390 Sat Apr 30 07:29:32 UTC 2005 nlehuen Fix for MODPYTHON-49.
Files Changed
MODIFY /httpd/mod_python/trunk/lib/python/mod_python/publisher.py