• ReginaPhalange@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      Speaking of which - can someone find the link for “Unicode does not work like this” kind of website that emphasizes that there is no simple “character limit”? Like "how many characters is an emoji? " or “Is NBSP a character”, “are non-latin punctuation marks a character”

    • Dave@lemmy.nz
      link
      fedilink
      arrow-up
      30
      ·
      6 hours ago

      I tried to contact a company the other day about something with a complex back story of cobtext the other day, and their website contact us form had a 200 character limit. I pretty much just had to type “please email me so I can email back why I’m contacting you”.

      • bdonvr@thelemmy.club
        link
        fedilink
        arrow-up
        6
        ·
        2 hours ago

        Definitely wouldn’t use the dev console to try bypassing the limit.

        That would be unethical.

    • Warl0k3@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      edit-2
      6 hours ago

      Cannot imagine how this could be legit - you’d run into a hard limit unless you explicitly designed that field to be unbounded.

      • MotoAsh@piefed.social
        link
        fedilink
        English
        arrow-up
        12
        ·
        edit-2
        5 hours ago

        Meh, not that hard to default things to “string”, or similar. For example, the “text” type in PostgreSQL explicitly says “unlimited”, though it seems it’s up to 1Gb. See https://www.postgresql.org/docs/current/datatype-character.html

        Similarly, it’s not like text fields on web pages automagically apply limits.

        It’s not unimaginable that some dumbass could vibe-code themselves up an easily exploited form.

        • ByteJunk@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 hour ago

          100% accurate, though vibe coding is optional.

          If I have a set of requirements that don’t mention any type of restriction, then I won’t arbitrarily add one - as far as I know, I could be breaking intended functionality. If I’m invested in this, I’ll add it to the list of stuff that needs clarification, otherwise it’s gonna ship as specified, and eventually someone’s gonna file a change request.

        • filcuk@lemmy.zip
          link
          fedilink
          arrow-up
          4
          ·
          2 hours ago

          These ‘unlimited’ scams are getting out of hand. All I wanted was to store the library of alexandria in plain text.