[ mailman-Bugs-663675 ] Administrative interface vs. non-standard HTTP ports

SourceForge.net noreply at sourceforge.net
Sat Apr 19 16:55:00 EDT 2003


Bugs item #663675, was opened at 2003-01-07 08:02
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=663675&group_id=103

Category: Web/CGI
Group: 2.1 (stable)
>Status: Closed
>Resolution: Works For Me
Priority: 7
Submitted By: Fabricio Chalub (chalub)
Assigned to: Nobody/Anonymous (nobody)
Summary: Administrative interface vs. non-standard HTTP ports

Initial Comment:
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?


----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-04-19 18:55

Message:
Logged In: YES 
user_id=12800

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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=663675&group_id=103



More information about the Mailman-coders mailing list