projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2707b39
)
Du xml valide, c'est mieux :-D
author
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 23 Jul 2013 09:25:20 +0000
(11:25 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 23 Jul 2013 09:25:20 +0000
(11:25 +0200)
Folder.py
patch
|
blob
|
history
diff --git
a/Folder.py
b/Folder.py
index
9853b7b
..
9051b3c
100644
(file)
--- a/
Folder.py
+++ b/
Folder.py
@@
-349,7
+349,7
@@
class PlinnFolder(CMFCatalogAware, PortalFolder, DefaultDublinCoreImpl) :
meth = method_id and getattr(ob, method_id) or (lambda : 'Not implemented')
RESPONSE.setStatus(httpRespCode)
RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')
meth = method_id and getattr(ob, method_id) or (lambda : 'Not implemented')
RESPONSE.setStatus(httpRespCode)
RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')
- return '<
![CDATA[%s]]
>' % meth()
+ return '<
fragment><![CDATA[%s]]></fragment
>' % meth()
# ## overload to maintain ownership if authenticated user has 'Manage portal' permission
# ## overload to maintain ownership if authenticated user has 'Manage portal' permission