• Scary le Poo@beehaw.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    The ampersands gets converted to HTML (aka & by various clients).

    In general, it’s a good idea to never use ampersands on the web. A lot of sanitizers do not process them properly.

    I’m guessing that you are a good bit older (50s/60s), otherwise you would probably know this already.

    No one is “comin’ fer yer ampersands”, but it’s worth knowing that on the internet they aren’t a great idea.

    • self@awful.systemsOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      oh my fuck I banned them before I even saw this

      yeah we must be a fair bit older if we don’t buy their bullshit html sanitization ploy. no idea what web dev is here!

      “a lot of sanitizers don’t process them properly” holy fuck

      • self@awful.systemsOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        it seriously took them 21 hours to come up with an excuse, and their excuse is it’s impossible to do the parts of html sanitization you can do with a basic regex and nothing else

        fuckin ampersands man how the fuck do they work

        • froztbyte@awful.systems
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 months ago

          I think literally the last place I actually had this kind problem was a case of mojibake in filenames for things that started on a windows fs served under iis, that then went to a btrfs store and chilled there for a while (like, 6+ years and however many kernels), then rsync’d onto a zfs box (on bookworm)

          And I literally just slapped the names through a python auto-remapper library after like 5min of searching to fix shit…

        • Soyweiser@awful.systems
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 months ago

          This has got to be a bit, in my very online time I have never seen somebody complain about &s hell even with the \ I have never seen people go ‘don’t use the backslash’ just people explain to others why the backslash behaves a bit weird (or how you can escape other characters with it, like for example the &).