[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/khtml/dom
From: David Faure <faure () kde ! org>
Date: 2003-06-30 23:52:55
[Download RAW message or body]
CVS commit by faure:
Don't crash on setPrefix(null string) (in fact this only affected HEAD, but
better be safe)
M +2 -1 dom_element.cpp 1.43
--- kdelibs/khtml/dom/dom_element.cpp #1.42:1.43
@@ -367,5 +367,6 @@ bool Element::khtmlValidAttrName(const D
bool Element::khtmlValidPrefix(const DOMString &name)
{
- return khtmlValidAttrName(name);
+ // Null prefix is ok. If not null, reuse code from khtmlValidAttrName
+ return !name.implementation() || khtmlValidAttrName(name);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic