be a little more liberal for sites that accidentally put whitespace before the xml decl
darcs-hash:20080824013803-84dde-9c5d9ce9c588cfb9baddae64366e3417f0a5fee9.gz
This commit is contained in:
parent
7d6e1bb47f
commit
a20a038542
@ -105,7 +105,9 @@ class RemotesubscribeAction extends Action {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$xrds =& Auth_Yadis_XRDS::parseXRDS($yadis->response_text);
|
# XXX: a little liberal for sites that accidentally put whitespace before the xml declaration
|
||||||
|
|
||||||
|
$xrds =& Auth_Yadis_XRDS::parseXRDS(trim($yadis->response_text));
|
||||||
|
|
||||||
if (!$xrds) {
|
if (!$xrds) {
|
||||||
$this->show_form(_('Not a valid profile URL (no XRDS defined).'));
|
$this->show_form(_('Not a valid profile URL (no XRDS defined).'));
|
||||||
|
Loading…
Reference in New Issue
Block a user