Skip to content

Commit

Permalink
Fixing issue opened by jhr with patch found on bugs.debian.orgs: "A D…
Browse files Browse the repository at this point in the history
…ebian user reported that the regular expression in Auth/OpenID/Parse.php is too greedy to cope with big pages. A simple fix is to make .? to . See http://bugs.debian.org/535479 for more info."
  • Loading branch information
Lilli committed Apr 29, 2010
1 parent 32324ad commit a3411ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Auth/OpenID/Parse.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class Auth_OpenID_Parse {
* Starts with the tag name at a word boundary, where the tag name
* is not a namespace
*/
var $_tag_expr = "<%s\b(?!:)([^>]*?)(?:\/>|>(.*?)(?:<\/?%s\s*>|\Z))";
var $_tag_expr = "<%s\b(?!:)([^>]*?)(?:\/>|>(.*)(?:<\/?%s\s*>|\Z))";

var $_attr_find = '\b(\w+)=("[^"]*"|\'[^\']*\'|[^\'"\s\/<>]+)';

Expand Down

0 comments on commit a3411ea

Please sign in to comment.