Hide Forgot
When accessing a system list at /available, /free, or /mine (as opposed to /available/, /free/, and /mine/ with a trailing slash, which is how they appear in Beaker's menu) the system search submits to the wrong location (always /). That's because the form has action=".". Instead it should be action="" so that the search is always submitted to the right place. Maybe we should also redirect /available to /available/ (likewise for /free and /mine) so that if someone hits those URLs they will be redirected to the "canonical" version. Tests in test_system_available.py are affected by this bug (or were, until Bill fixed them). Those tests should check the page title or use some other means to assert that they are in the right place after submitting the system search.
(In reply to comment #0) > Maybe we should also redirect /available to /available/ (likewise for /free and > /mine) so that if someone hits those URLs they will be redirected to the > "canonical" version. What's to be gained by doing this? Seems like it would be just another request/roundtrip to slow things down for no reason.
(In reply to comment #1) > What's to be gained by doing this? Nothing really, except for consistency with the rest of Beaker (and the web in general). Cherrypy does this for us when the path is a sub-controller (so it makes it behave like a directory would in Apache).