HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tisizi

no profile record

Submissions

Ask HN: Why does Deno Deploy block /wp-content?

2 points·by tisizi·28 dni temu·5 comments

Ask HN: Why does Deno Deploy block /wp-content?

deno.com
4 points·by tisizi·w zeszłym miesiącu·1 comments

comments

tisizi
·28 dni temu·discuss
That sounds somewhat plausible - maybe they can reduce CPU time wasted on scanners / crawlers this way.
tisizi
·28 dni temu·discuss
I already did but as I have the free tier, I am still waiting for a reply as of today :-)
tisizi
·w zeszłym miesiącu·discuss
For a website, which I once migrated from WordPress to Deno Deploy, I have a simple redirect in place for any files below /wp-content/. Today I discovered that this redirect does not work anymore. After several hours of searching for a bug in my own code or configuration, I finally found the culprit: Deno Deploy itself is handling this URL differently!

Take a look at https://deno.com/wp-content - unsurprisingly it will yield a 404. However, https://deno.com/should-not-exist will yield a different 404. The same applies for https://usefresh.dev/wp-content and presumably for any other website hosted on Deno Deploy. Really strange...

Does anybody have an idea, why or when this bug might have been introduced?
tisizi
·w zeszłym roku·discuss
[dead]