atom icon indicating copy to clipboard operation
atom copied to clipboard

Problem: AtoM doesn't strip control characters from inputs

Open anvit opened this issue 7 months ago • 0 comments

Current Behavior

Users are able to add control characters (such as ) both via import and via inputting text into AtoM.

Expected Behavior

These characters should not be permitted since they're meant to be non-printable, and they create problems with generating XML (and finding aids which relies on EAD XML) since XML 1.0 prohibits non-printable control characters.

Possible Solution

These characters should either be filtered out during import/input or should be stripped before they're rendered or passed on to XML.

Version used

AtoM 2.8.2

anvit avatar Jul 15 '24 20:07 anvit