Ticket #239 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

Extend Yadis HTML discovery regex to support XHTML-style tag

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

Description (Last modified by http://keturn.myopenid.com/)

    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 14:22:43 changed by http://keturn.myopenid.com/

  • description changed.

06/04/08 17:12:01 changed by http://dag.myopenid.com/

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