Ticket #240 (closed defect: duplicate)

Opened 6 months ago

Last modified 6 months ago

Extend Yadis HTML discovery regex to support XHTML-style tag

Reported by: http://keturn.myopenid.com/ Assigned to:
Priority: major Milestone: Lib release 6/5
Keywords: sync Cc:
Project: python-openid OpenID Protocol:
Series: Web Browser:

Description

    hunk ./Auth/Yadis/ParseHTML.php 44
    -    var $_attr_find = '\b([-\w]+)=(".*?"|\'.*?\'|.+?)[\s>]';
    +    var $_attr_find = '\b([-\w]+)=(".*?"|\'.*?\'|.+?)[\/\s>]';
    hunk ./Tests/Auth/Yadis/data/test1-parsehtml.txt 5
    +found
    +<!-- minimal well-formed success case, xhtml closing, whitespace -->
    +<html><head><meta http-equiv="X-XRDS-Location" content="found" /></head></html>
    +^L$
    +found
    +<!-- minimal well-formed success case, xhtml closing, no whitespace -->
    +<html><head><meta http-equiv="X-XRDS-Location" content="found"/></head></html>
    +^L$

Change History

06/04/08 16:25:04 changed by http://dag.myopenid.com/

  • status changed from new to closed.
  • resolution set to duplicate.