? Information Required
avatar robbiejackson
robbiejackson
6 Aug 2021

Steps to reproduce the issue

Go into Media and click to upload a file, eg: doh-2021-covid-regs-amdt13.pdf

When you try to upload the attached file (from https://www.health-ni.gov.uk/publications/health-protection-coronavirus-restrictions-regulations-northern-ireland-2021) then joomla gives a 403 response.

Some pdf files upload ok, others don't. I can't see what the difference is between those that upload ok and those that fail.

Expected result

pdf file is uploaded

Actual result

upload is rejected with a 403 status

System information (as much as possible)

Joomla 3.9.28 on a hosted service provided by Krystal Hosting.

Additional comments

The upload of the above file works ok on my joomla 3.9.14 instance on my windows pc.

avatar robbiejackson robbiejackson - open - 6 Aug 2021
avatar robbiejackson robbiejackson - change - 6 Aug 2021
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 6 Aug 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Aug 2021
avatar brianteeman
brianteeman - comment - 6 Aug 2021

Please see #16238

(note it works fine on my sites with scalahosting)

avatar robbiejackson
robbiejackson - comment - 7 Aug 2021

@brianteeman thanks for that - I think you're right. I updated my local instance to 3.9.28 and it works there ok.

I'll look into the issue a bit more on the hosting side to try and find the root of the problem.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35060.

avatar Quy Quy - change - 7 Aug 2021
Labels Added: ? Information Required
Removed: ?
avatar Quy Quy - labeled - 7 Aug 2021
avatar robbiejackson
robbiejackson - comment - 8 Aug 2021

@brianteeman - it wasn't a joomla problem after all, but some security rules on the hosting service that had got a bit overzealous, and which the hosting company has now fixed.

Actually I should have realised it wasn't joomla because it was showing the 403 error on a page which referenced the LiteSpeed web server, so the requests weren't actually making it through to joomla, but were being rejected at the web server.

Hence I'm closing this ticket - apologies for the false alarm.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35060.

avatar brianteeman
brianteeman - comment - 8 Aug 2021

Thanks for reporting back.

avatar alikon alikon - change - 8 Aug 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-08-08 17:12:50
Closed_By alikon
Labels Added: ?
Removed: ?
avatar alikon alikon - close - 8 Aug 2021

Add a Comment

Login with GitHub to post a comment