• ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    13
    ·
    20 hours ago

    I remember there being a CORS problem in a team project.
    Perhaps I should ask the webdev at the time whether they had made that thing with AI or they really just made the whole thing themselves and somehow overlooked CORS.

    • ClassifiedPancake@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      CORS has always been a problem. I keep having to remind the backend team to send proper headers. They say it works in curl so why not in the browser. It’s not very intuitive.

    • w3dd1e@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      7 hours ago

      When I was learning, CORS was a pain in my ass. It’s not taught well, and often glossed over.

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 hours ago

        Hehe yeah, security in general has been an afterthought in the computing space.
        And it makes sense. You first make something possible, then restrict it for whatever cases you don’t want it happening. The latter is supposed to be easier.