[ mailman-Bugs-856565 ] mailto link to site admin contains webserver port

SourceForge.net noreply at sourceforge.net
Mon Dec 8 19:03:37 EST 2003


Bugs item #856565, was opened at 2003-12-09 01:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=856565&group_id=103

Category: Web/CGI
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Axel Beckert (xtaran)
Assigned to: Nobody/Anonymous (nobody)
Summary: mailto link to site admin contains webserver port

Initial Comment:
If you access Mailman's web interface via some other
port than 80, i.e. the port number is specified in the
URL and therefore in the Host header, it's also present
in the site admin mailto link.

Example:

If the Mailman URL is e.g.

    http://localhost:8001/mailman/listinfo

then the site admin mailto link reads

    mailman at localhost:8001

which isn't what it should be.

Fix: Strip the colon and port number before outputting
the host name for the email address.

Found in Mailman 2.1.3 on Linux using Postfix as MTA
(which probably should matter very much in this case ;-).

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

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



More information about the Mailman-coders mailing list