Hello, Mark,
This action solved the stated problem but now I note that the same situation pertains in "Tend to pending moderator requests" where held messages cannot be read or actioned.
Also "Go to list archives". (we do not have this running). The other two links are fine.
I see three more 'absolute=1' entries in admindb.py - shall I change all three?
regards Anne
On Wed, Apr 10, 2013 at 03:00:50PM -0700, Mark Sapiro wrote:
Mark Sapiro wrote:
What we need to do is figure out why those few URLs on the Membership List page are absolute. It may be a bug. I'll look at that.
There are two places in Mailman/Cgi/admin.py where it requests absolute URLs. The relevant code bits are
def membership_options(mlist, subcat, cgidata, doc, form): # Show the main stuff adminurl = mlist.GetScriptURL('admin', absolute=1) ...
and
def password_inputs(mlist): adminurl = mlist.GetScriptURL('admin', absolute=1)
The first of these affects the 'letter/digit' links on the membership ant the action for the Search, Submit Your Changes and Set buttons, and the second affects (I think) only the link to the general options section on the Passwords page.
I see no reason why these need to be absolute URLs. You could just change the two mlist.GetScriptURL lines to
adminurl = mlist.GetScriptURL('admin')
and I think that would fix it. If you wouldn't mind trying this and reporting, I'd appreciate it and if it seems OK, I'll file a bug and change it for 2.1.16.
There may be some http/https issue around this, but offhand, I can't think why.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan