Offending HTML:
<title>strk's publications</title>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="openid2.provider" href="https://id.xxx.io/">
<link rel="openid2.local_id" href="https://strk.xxx.io/openid/">
The Auth_OpenID_Parse's parseLinkAttrs returns empty when passed that HTML. Why not using DOM rather than regexps in that function ?
该提问来源于开源项目:openid/php-openid