mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #01286
[Bug 618509] Re: XMLRPC link to hosts with underscores in hostname fails
Hi Andrew,
Ok - agreed the standards don't permit underscores. Some DNS and HTTP
implementations do permit these but (even if incorrectly) so it becomes
somewhat philosophical, is it best to uphold the standard or do you
attempt to cater for the various implementations? If just the standard
then an error message would definately be useful.
Nathan
--
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