Opened 16 years ago
Last modified 14 years ago
#2378 assigned Bug
Search for better options than EncodeConfig
Reported by: | Wiktor Walc | Owned by: | Wiktor Walc |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Server : PHP | Version: | |
Keywords: | Confirmed | Cc: |
Description
At this moment it seems not very intuitive hot to assign SkinPath in PHP. To achieve path pointing to:
"/sub1/# CMS/sub2/"
ones have to assign:
"/sub1/%2523 CMS/sub2/"
...there must be an easier way to do it.
Change History (8)
comment:1 Changed 16 years ago by
Owner: | set to Wiktor Walc |
---|---|
Status: | new → assigned |
comment:2 Changed 16 years ago by
comment:3 Changed 16 years ago by
I agree that using such urls is quite risky, but it's possible to create directories with "#" character so maybe it's worth to check this.
It seems that floating dialogs also doesn't work with "#" in a path (this problem and the original issue has been reported by saul11 on #fckeditor channel).
comment:4 Changed 16 years ago by
The fact that you can create a directory with such sign doesn't mean that it's a valid URL.
Everything after the # is the "hash", and it isn't sent back to the server. Try loading a file directly from such a directory and you'll see that you get back the default document for that directory, not the one that you asked.
comment:5 Changed 16 years ago by
Yes, I understand that, but... don't you think, that if I have a folder with "#" in it's name, I should be able to use it?
It's possible to access files from such folder (but first you change "#" into %23):
<img src="http://127.0.0.1/sub1/%23%20sub2/sub3/sample.png"> instead of: <img src="http://127.0.0.1/sub1/# sub2/sub3/sample.png">
I guess that there are not too many people that use "#" in their folder names, I've added this just to remember to check that all other special characters that may cause problems are also translated correctly.
comment:6 Changed 16 years ago by
Keywords: | Confirmed added |
---|
comment:7 Changed 16 years ago by
Milestone: | CKEditor 3.0 → CKEditor 3.x |
---|
The # sign is a special character in urls, I'm not sure that the proposed url is a valid one for a file path.