Administrative interface vs. non-standard HTTP ports

Bug #265838 reported by Chalub
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
High
Unassigned

Bug Description

I still find that mailman's administrative interface
behaves incorrectly on HTTPDs running on non-standard
ports. It simply discards the port information out of
the URL, despite DEFAULT_URL* settings.

On some pages, the URL to the FORM ACTION is relative
(eg, the "General Options" form) while others, it is
absolute (eg, the "Membership list").

Looking around the source, I've found lines like this

(on Mailman/Cgi/admin.py)

adminurl = mlist.GetScriptURL('admin', absolute=1)

Changing the value of ABSOLUTE to 0 solved the problem,
and I've found it pretty harmless. Any specific reason
for the ABSOLUTE=1 setting?

[http://sourceforge.net/tracker/index.php?func=detail&aid=663675&group_id=103&atid=100103]

Tags: web-cgi
Revision history for this message
Barry Warsaw (barry) wrote :

We had lots of problems when non-absolute urls where used,
although I don't remember the exact details of the problems.
 Eventually we'll probably make all urls absolute and get
rid of this argument to GetScriptURL().

BTW, this works for me, so I'm closing the bug report. Note
that changing the DEFAULT_URL_* variables does not change
settings for existing lists. For those you must use
bin/withlist to change the web_page_url variable manually.

If there are specific links that are broken, then please
follow up with those links and I'll look into them.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.