Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
4.0
-
None
-
Unknown
-
Description
public void setFilename(String filename) { filename = filename.replaceAll("\\+", " "); if (!filename.equals(this.filename)) { setMetaDataDirty(true); this.filename = filename; } this.reference = null; }
Does not make any sense, can hardly thing of a worst design. There is not even a comment...
Attachments
Issue Links
- duplicates
-
XWIKI-7835 Webdav uploading an attachment with + character in filename fails leaving duplicate attachments in hibernate session.
-
- Closed
-