summaryrefslogtreecommitdiffstats
path: root/Auth
diff options
context:
space:
mode:
authorLilli <lilli@janrain.com>2010-04-29 13:39:18 -0700
committerLilli <lilli@janrain.com>2010-04-29 13:39:44 -0700
commita3411ea3b88628533bd1d0550a17ec2cc6f32af7 (patch)
treef337ff556cd3f66ff5fad00498b151626e6bdacd /Auth
parent32324ad14b0f46df4158d4b1b3d08587e8f05377 (diff)
downloadphp-openid-a3411ea3b88628533bd1d0550a17ec2cc6f32af7.zip
php-openid-a3411ea3b88628533bd1d0550a17ec2cc6f32af7.tar.gz
php-openid-a3411ea3b88628533bd1d0550a17ec2cc6f32af7.tar.bz2
Fixing issue opened by jhr with patch found on bugs.debian.orgs: "A Debian 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."
Diffstat (limited to 'Auth')
-rw-r--r--Auth/OpenID/Parse.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/OpenID/Parse.php b/Auth/OpenID/Parse.php
index 455723d..6c2e721 100644
--- a/Auth/OpenID/Parse.php
+++ b/Auth/OpenID/Parse.php
@@ -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\/<>]+)';