• rekabis@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    3 hours ago

    I have an apostrophe

    Scottish/Irish?

    some companies see it as a SQL injection hack and sanitize it.

    Which kind of apostrophe?

    A straight apostrophe, fine - that can and does get used in valid SQL injection attacks. I would be disgusted at any input form that didn’t sanitize that.

    But a curly apostrophe? Nothing should be filtering a curly apostrophe, as it has no function or use within SQL. So if you learn how to bring that up in alt codes (Windows, specifically), Key combos (Mac) or dead keys (Linux), as well as direct Unicode codes for most any Win/Mac/*Nix platform, you should be golden.

    Unless the developer of that input form was a complete moron and made extra-tight validation.

    Plus, knowing the inputs for a lot of extended UTF-8 characters not found on a normal keyboard is also a wee bit of a typing superpower.