Skip to content

Invalid chars for Buchungsstapel "Belegfeld 1" #14

@sunsations

Description

@sunsations

Another feedback we got from the DATEV-review

In den Belegfeldern sind folgende Zeichen zulässig:
Ziffern: 0 1 2...9
Großbuchstaben: A B C...Z
Kleinbuchstaben: a b c...z
Sonderzeichen: $ & % * + - /

Do you think it would make sense to validate or sanitize the input in the gem directly?
My proposal would be to throw an exception if the input contains invalid chars and leave the sanitization (Umlaut-Replacement and the like) to the caller.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions