[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
mjs
mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:17:39 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 712e3685a3572fff10f1286e8236d63811b966e3
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Dec 10 21:46:45 2003 +0000
Reviewed by John.
<rdar://problem/3505795>: loading invalid XML document crashes trying to create h1 element
* khtml/xml/dom_docimpl.cpp:
(DocumentImpl::isValidName): include "0123456789" instead of
"0-9", it's not a regexp it's just a list of characters.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 91e7256..e93639f 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -2,6 +2,16 @@
Reviewed by John.
+ <rdar://problem/3505795>: loading invalid XML document crashes trying to create h1 element
+
+ * khtml/xml/dom_docimpl.cpp:
+ (DocumentImpl::isValidName): include "0123456789" instead of
+ "0-9", it's not a regexp it's just a list of characters.
+
+2003-12-09 Maciej Stachowiak <mjs at apple.com>
+
+ Reviewed by John.
+
<rdar://problem/3504155>: Safari fails XMLHttpRequest abort test
* khtml/ecma/xmlhttprequest.cpp:
diff --git a/WebCore/khtml/xml/dom_docimpl.cpp b/WebCore/khtml/xml/dom_docimpl.cpp
index 757d680..fd72d06 100644
--- a/WebCore/khtml/xml/dom_docimpl.cpp
+++ b/WebCore/khtml/xml/dom_docimpl.cpp
@@ -2499,7 +2499,7 @@ void DocumentImpl::setDomain(const DOMString &newDomain, bool force /*=false*/)
bool DocumentImpl::isValidName(const DOMString &name)
{
static const char validFirstCharacter[] = "ABCDEFGHIJKLMNOPQRSTUVWXZYabcdefghijklmnopqrstuvwxyz";
- static const char validSubsequentCharacter[] = "ABCDEFGHIJKLMNOPQRSTUVWXZYabcdefghijklmnopqrstuvwxyz0-9-_:.";
+ static const char validSubsequentCharacter[] = "ABCDEFGHIJKLMNOPQRSTUVWXZYabcdefghijklmnopqrstuvwxyz0123456789-_:.";
const unsigned length = name.length();
if (length == 0)
return false;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list