enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
201 stars 34 forks source link

Sanitize binary names #6444

Closed GlennRicaud closed 5 years ago

GlennRicaud commented 6 years ago

https://enonic.zendesk.com/agent/tickets/1802 We should sanitize binary names the same way we do for display name before they are uploaded

GlennRicaud commented 5 years ago

I will recreate this issue since there are actually multiple problems here in multiple places 1 - Content Studio: Binary names should be sanitized. 2 - XP: Add ':' to the list of EXPLICITLY_ILLEGAL_CHARACTERS in com.enonic.xp.name.NameCharacterHelper 3 - Dump migration: Replace names that contain':'

GlennRicaud commented 5 years ago

Moved to https://github.com/enonic/xp/issues/6776