Spyro Polymiadis wrote: > >Ah ok - so in actual fact all the links theoretically should have been >missing that slash - but the "sanity check" added them in.... is there a >way to get the sanity checker to "auto fix" those 2 links as well for >the future? if someone forgets the slash again? - other than that - >everything else seems to work fine still ;)
Basically what happens is the web list create script sets the list's web_page_url attribute by interpolating the web host name into DEFAULT_URL_PATTERN, and it does no checking of the result for a trailing slash. Thus, the links that it creates for its results page are missing a slash if DEFAULT_URL_PATTERN has no trailing slash. Then, the MailList module, adds the trailing slash to the list's web_page_url attribute the next time the list is accessed so the absence of the trailing slash in DEFAULT_URL_PATTERN ultimately causes no harm, but it does cause the two links on the list create results page to be wrong. If you want the two links on the create results page to be correct in the absence of the trailing slash in DEFAULT_URL_PATTERN, you have to add the same "make sure that web_page_url ends in a slash" code that's in Mailman/MailList.py to Mailman/Cgi/create.py. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
