? J3 Issue
avatar AlexRed
AlexRed
9 Oct 2017

Steps to reproduce the issue

Create via FTP a new folder in the images folder. Use for the folder name: test space
Try to open this folder from the edit article page to select an image.

Expected result

I can go inside the folder with a space in the name

Actual result

I can't go inside the folder with a space in the name

System information (as much as possible)

Joomla 3.8.1
PHP 7.0
Browser Firefox 56.0 (64 bit) and Chrome 61.0.3163.100 (64 bit)

Additional comments

space-folder

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
1.00

avatar AlexRed AlexRed - open - 9 Oct 2017
avatar joomla-cms-bot joomla-cms-bot - change - 9 Oct 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Oct 2017
avatar brianteeman
brianteeman - comment - 9 Oct 2017

i woudl say that this is the expected behaviour and is why joomla itself will not allow you to create a folder with a space in it

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Oct 2017
Category Administration
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Oct 2017
Status New Discussion
avatar AlexRed
AlexRed - comment - 9 Oct 2017

yes, creating a new folder with a space in it you get the error message, but no error message when try to open it in the media manager.

avatar studio42
studio42 - comment - 9 Oct 2017

AlexRed, Joomla use a safe pattern to remove any char that can give problems.
Space can break, so Joomla remove it.
test space, is changed to testspace (no space inside) it's why media manager cannot show inside this folder.

avatar simbus82
simbus82 - comment - 11 Oct 2017

Maybe you can add a warning icon near the file/folder name, like some others media managers when a name is wrong or contains not accepted characters.

avatar infograf768
infograf768 - comment - 11 Oct 2017

I wonder if we could not use rawurlencode() after domain to get the nice + or %20 for spaces, therefore permitting spaces in folders title.

avatar brianteeman
brianteeman - comment - 11 Oct 2017

It might work but it might be tricky if you have nested parts that all need encoding

avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar Quy
Quy - comment - 31 May 2018

This is not an issue in J4.

avatar Quy
Quy - comment - 7 Jun 2019

Since this issue arises when performed outside of Joomla, can this be considered as won't fix?

avatar joomla-cms-bot joomla-cms-bot - change - 10 Jun 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-06-10 06:34:01
Closed_By joomla-cms-bot
avatar alikon alikon - change - 10 Jun 2019
Closed_By joomla-cms-bot alikon
Labels
avatar joomla-cms-bot joomla-cms-bot - close - 10 Jun 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 10 Jun 2019

Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/18287

avatar rashgang
rashgang - comment - 19 Sep 2019

Is there a way to fix this in code or any patches available. I am having this issues in my site. How to fix this. I cannot traversing the folder with spaces. but i can go inside folder without spaces.screen shot 2019-09-19 at 14 59 40


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

avatar infograf768
infograf768 - comment - 20 Sep 2019

@rashgang
The simplest way is to change the names of the folders via FTP or CPanel.

avatar rashgang
rashgang - comment - 23 Sep 2019

If i changed it it will affect the image path on frontend.

avatar infograf768
infograf768 - comment - 23 Sep 2019

Mass changes in a db dump.

Add a Comment

Login with GitHub to post a comment