File picker broken since 2.2.10 -> 3rd level subdirectories

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
creopard
Forum Members
Forum Members
Posts: 50
Joined: Fri Nov 10, 2017 10:25 am
Location: .de
Contact:

File picker broken since 2.2.10 -> 3rd level subdirectories

Post by creopard »

Steps to reproduce:
1. Add an image in any content page
2. Click on the browse icon, so the file picker will open
3. Navigate to any directory, e.g. "/uploads/images"
4. Try to open a subdirectory in the images directory, e.g. "gallery"
5. File picker won't open the subdirectory "gallery", but jump back directly to "uploads"

I don't know if this bug was introduced in 2.2.10 or earlier 2.2.9/2.2.9.1 as I don't use that image insertion function regularly.
It used to work definately in 2.2.8.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: File picker broken since 2.2.10 -> 3rd level subdirector

Post by DIGI3 »

I wasn't able to reproduce this. I tried with a default filepicker profile and without. Can you think of anything else that may be set that could affect it? Does anything show in the JS console or error log? Do you have mod_security enabled?
Not getting the answer you need? CMSMS support options
User avatar
creopard
Forum Members
Forum Members
Posts: 50
Joined: Fri Nov 10, 2017 10:25 am
Location: .de
Contact:

Re: File picker broken since 2.2.10 -> 3rd level subdirector

Post by creopard »

Thanks for the feedback.
The JS console made the trick!

It seems my .htaccess was too restrictive for 2.2.10. After removing

Code: Select all

Header set Content-Security-Policy: "frame-ancestors 'self'"
the File picker works again as intended!
Thank you for your support!
Post Reply

Return to “CMSMS Core”