fritzmg / contao-file-access

Contao extension that allows file access restrictions for frontend users.
GNU Lesser General Public License v3.0
8 stars 1 forks source link

401 Unauthorized doesn't work with 401 page type #11

Closed rhymeadam closed 2 years ago

rhymeadam commented 2 years ago

Hi there,

I just upgraded a client to Contao 4.13 and it seems that instead of Contao's 401 page type handling this exception as it used to, now we just get a generic "Oops! An Error Occurred. The server returned a "401 Unauthorized" type of screen. Is this something you've seen after upgrading to 4.13? It could also be something in my configuration somewhere, but it's just odd that this wasn't the case when upgrading up until now, and the upgrade to 4.13 has caused this. Please let me know when you can take a look. Thanks!

Screen Shot 2022-04-06 at 8 24 48 AM .

fritzmg commented 2 years ago

Hm, do you have the domain configured in the website's root?

rhymeadam commented 2 years ago

Yeah, so if you're referring to the root page in Contao i.e. tl_page.dns being set to the correct domain, then yes that's set.

fritzmg commented 2 years ago

Should be fixed in version 2.3.1 now.