logoalt Hacker News

TechRemarkertoday at 11:55 AM3 repliesview on HN

In Safari (macOS Beta), none of the pictures load. In dev tools shows 403 error for all. If view the image urls directly shows "It appears you don't have permission to access this page.

403 Error. Forbidden." in a stylized font. Content blockers are "not" enabled. Able to replicate in Private window too. In Chrome however, images all load normally, also able to view the image urls directly. Very odd. No VPN and Private Relay is "off". Very unusual, will have to do some more digging assuming this is just affecting me and not others in Safari on latest macOS beta.

Update works in latest Safari Tech Preview, so assuming some cache/cookie/etc issue even though again affects Private mode.


Replies

986aignantoday at 6:16 PM

I ran into the same problem with Firefox, except viewing it directly works.

It turns out the server is using referer checking and I've got referer disabled. Compare the following curl invocations:

    curl 'https://fabiensanglard.net/jurrasic_park_computers/00_11_15_Apple_Powerbook_100.webp' \
  -H 'Referer: https://fabiensanglard.net/'
vs. just

    curl 'https://fabiensanglard.net/jurrasic_park_computers/00_11_15_Apple_Powerbook_100.webp'
The latter gives a 403.
ricardobeattoday at 12:15 PM

Safari is riddled with bugs in the beta, nothing websites can do about it.