Mind Control Comics Forum
November 25, 2024, 07:03:28 am *
Welcome, Guest. Please login or see the News and Announcement section on how to register.

Login with username, password and session length
New to this forum? Please be sure to check out the introduction for very important information.
Click here to return to the main comic site.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Opening image in new tab results in 404  (Read 5734 times)
Sane Scientist
Browser
One Star Sneetch
*
Posts: 20

Fan of all things MC


WWW
« on: February 18, 2019, 07:49:06 am »

Hi!

I tried to open an image in a new tab and found that I was unable to do so.

If I enter this url into the address bar, I can't access it. However, if I open in a new tab by itself (presumably without the referer header) I get an error.

Is there any reason why this is now happening?

Thanks.

Logged
macavity
Subscriber
Four Star Sneetch
****
Posts: 392

Macavity


« Reply #1 on: February 18, 2019, 09:07:38 am »


If I enter this url into the address bar, I can't access it.



I could access it PROVIDED I had logged in first!
Logged

GB
Daphne
Publisher
Five Star Sneetch
*****
Posts: 4467


Drawn and Quartered.


WWW
« Reply #2 on: February 18, 2019, 09:11:14 am »

Is there any reason why this is now happening?

There haven't been any changes to the site in that area in several months.
Logged

DO NOT SEND ME PMs. JUST DON'T. ALWAYS SEND QUESTIONS OR COMMENTS OR REQUESTS TO: orders@mindcontroltheatre.com. Thank you.
lifmcs
Subscriber
Four Star Sneetch
****
Posts: 742



« Reply #3 on: February 18, 2019, 10:52:02 am »

Can confirm, nothing seems to have changed recently. No Referrer header = no D12 has been my experience for a long time. Can right click -> View Image with no problem because Firefox at least sends a Referrer in that case, but just pasting the URL for an image into the address bar returns that lovely render from Sturk. I'll defer to Daphne on the question of why. Be thankful there are actual <img> tags instead of CSS backgrounds?
Logged
macavity
Subscriber
Four Star Sneetch
****
Posts: 392

Macavity


« Reply #4 on: February 18, 2019, 02:09:21 pm »

but just pasting the URL for an image into the address bar returns that lovely render from Sturk. I'll defer to Daphne on the question of why. Be thankful there are actual <img> tags instead of CSS backgrounds?

As far as I can see, 'Sorry we couldn't find that page' can also mean 'Sorry, you don't have access rights to that page.' so the URL works for me in Firefox provided I'm logged in to MCC
Logged

GB
Sane Scientist
Browser
One Star Sneetch
*
Posts: 20

Fan of all things MC


WWW
« Reply #5 on: February 18, 2019, 04:01:39 pm »

Is there any reason why this is now happening?

There haven't been any changes to the site in that area in several months.

When you say months, is there any reason why the site is now working like this?

My annoyance is that I had a couple of sessions open on my computer and several (20+) panels were opened in individual tabs. Then my browser crashed and when I re-opened it, all of the pages showed a not found banner.

I was able to reproduce this reliably and determined that my browser restart following a crash wasn't keeping the referer header, but I don't really understand the reasoning for requiring the referer header. Relying upon it offers zero protection or security beyond making users miserable. Sad
Logged
Daphne
Publisher
Five Star Sneetch
*****
Posts: 4467


Drawn and Quartered.


WWW
« Reply #6 on: February 18, 2019, 04:37:27 pm »

When you say months, is there any reason why the site is now working like this?

A quick trip down memory lane with git blame indicates that it's been like this since the new site launched.

Quote
My annoyance is that I had a couple of sessions open on my computer and several (20+) panels were opened in individual tabs. Then my browser crashed and when I re-opened it, all of the pages showed a not found banner.

Apologies for the annoyance, although this is... not a super-common usage model.
Logged

DO NOT SEND ME PMs. JUST DON'T. ALWAYS SEND QUESTIONS OR COMMENTS OR REQUESTS TO: orders@mindcontroltheatre.com. Thank you.
ozymandias
Subscriber
Four Star Sneetch
****
Posts: 400


Llama llama duck


« Reply #7 on: February 19, 2019, 09:18:04 am »

My annoyance is that I had a couple of sessions open on my computer and several (20+) panels were opened in individual tabs. Then my browser crashed and when I re-opened it, all of the pages showed a not found banner.

I found that if I just went to an image URL directly, I get a 404, but if I open the page, then "open image in a new tab", the image opens. I can't refresh the image, though. I assume this is tied to a usage cookie or other session state variable.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!