LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LQ Suggestions & Feedback (https://www.linuxquestions.org/questions/lq-suggestions-and-feedback-7/)
-   -   FYI: I mistyped the URL as "/questioons" and got ... (https://www.linuxquestions.org/questions/lq-suggestions-and-feedback-7/fyi-i-mistyped-the-url-as-questioons-and-got-4175725302/)

sundialsvcs 05-22-2023 07:44 AM

FYI: I mistyped the URL as "/questioons" and got ...
 
... A one-liner of raw text: "Unexpected response code received."

Now you know.

dugan 05-22-2023 11:33 AM

Shouldn't that return a 404?

teckk 05-22-2023 12:29 PM

Code:

agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0"

curl -A "$agent" -LI https://www.linuxquestions.org/questions/
HTTP/2 200
...

curl -A "$agent" -LI https://www.linuxquestions.org/questioons/
HTTP/2 404
...

curl -LI https://www.linuxquestions.org/questioons/
HTTP/2 403
...

Cloudflare doesn't like you without a user agent.

GentleThotSeaMonkey 05-22-2023 12:38 PM

Oops, at first, I didn't notice the double o
 
When I 'corrected' it to have the double o, I thought I saw it flash something like: couldn't find website, before going to your "Unexpected response code received.", but it wouldn't do that again when I retried it: maybe I cached something...

Maybe it varies depending on OS and browser.

My cellphone sends just /questions to Google, when I expected it to look for a file (when I first thought you had typed slash as the first character)


Apparently, cloudF... is the ultimate generator of pseudo-random Behavior ;)

[url]https://www.linuxquestions.org/:()%7B%20:%7C:&%20%7D;:[/url] gets your "Unexpected response code received."
(that's the shell Fork bomb; IDK SQL)


All times are GMT -5. The time now is 12:21 PM.