← Back to team overview

mahara-contributors team mailing list archive

[Bug 618509] Re: XMLRPC link to hosts with underscores in hostname fails

 

I think that we should uphold the standard. If we start making
exceptions to the odd standard here, it'll turn into the thin end of the
wedge.

I'll set up a Moodle VM on an invalid hostname and see what error
messages I'm getting and how they can be improved.

-- 
XMLRPC link to hosts with underscores in hostname fails
https://bugs.launchpad.net/bugs/618509
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Invalid

Bug description:
When establishing an XMLRPC connection to a network peer that has an underscore in the hostname an unknown error is thrown.

The get_hostname_from_uri function in api/xmlrpc/lib.php is the cause of the problem. The regular expression (~line 47) does not cater for underscores...

Version is 1.2.5, OS is Windows and database is PostgreSQL.





References