mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
Fix bug in escaping entities in fault message.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21475 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d75f98906c
commit
9a29cfd295
2 changed files with 3 additions and 1 deletions
|
@ -6,6 +6,8 @@
|
||||||
causing resources to be freed and the ssl operation to crash.
|
causing resources to be freed and the ssl operation to crash.
|
||||||
Retaining self (and noticing when a disconnect has taken place)
|
Retaining self (and noticing when a disconnect has taken place)
|
||||||
prevents that.
|
prevents that.
|
||||||
|
* Source/Additions/GSXML.m: Fix bug escaping emtities in fault
|
||||||
|
message.
|
||||||
|
|
||||||
2005-07-13 Nicola Pero <n.pero@mi.flashnet.it>
|
2005-07-13 Nicola Pero <n.pero@mi.flashnet.it>
|
||||||
|
|
||||||
|
|
|
@ -4802,7 +4802,7 @@ static void indentation(unsigned level, NSMutableString *str)
|
||||||
|
|
||||||
fault = [NSDictionary dictionaryWithObjectsAndKeys:
|
fault = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
[NSNumber numberWithInt: code], @"faultCode",
|
[NSNumber numberWithInt: code], @"faultCode",
|
||||||
[s stringByEscapingXML], @"faultString",
|
s, @"faultString",
|
||||||
nil];
|
nil];
|
||||||
|
|
||||||
[str appendString: @"<?xml version=\"1.0\"?>\n"];
|
[str appendString: @"<?xml version=\"1.0\"?>\n"];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue