Hi Andrew, Yes - the line "throw new ParamOutOfRangeException('Could not find IP address for host: '.addslashes($hostname));" in bootstrap(..) is being thrown.
The hostname I used was something like moodle_19.xxx.corp, get_hostname_from_uri() returns "moodle", gethostbyname() returns the same "moodle" which means on ~line 174 $ipaddress and $hostname are the same and not IP addresses. Like you say, given this is where it gets to it is surprising that the error message displayed is "An unknown error occurred while processing this form". It happens when clicking "Submit" in the add authority popup. Moodle version and build are "Moodle 1.9.9+ (Build: 20100811)". Cheers, 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. _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp