Opened 14 years ago
Closed 14 years ago
#8803 closed Bug (fixed)
CKFinder config.id parameter passed with double ampersand in querystring
| Reported by: | Philippe Meunier | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
When we give an id to ckfinder (v 2.0.2), it gets passed correctly to the popup window, but if we upload a new file, the POST request has the id parameter wrongly URLEncoded, the ampersand is added twice before the id, giving something like :
Here is the code snippet to reproduce the bug :
var finder = new CKFinder({
"id": "filepicker-simple-editor",
"basePath" : "/includes/ckfinder/"
});
finder.popup();
Attachments (1)
Change History (4)
comment:1 Changed 14 years ago by
| Keywords: | ckfinder removed |
|---|---|
| Status: | new → pending |
comment:2 Changed 14 years ago by
- I attached a file which is a very simple case where the bug occurs
- I installed the latest version (2.1.1) for Classic ASP and the problem still occurs
- The resulting object is the same (JSON is JavaScript Object Notation) but in the example file I uploaded, I changed it to remove double quotes around properties
- Removing the id makes the querystring ending with an ampersand : ...blablabla&hash=50073e42bf738bd2&
comment:3 Changed 14 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | pending → closed |
Oh... sorry there I retested it... my js file was cached from a previous version, the problem is fixed with ckfinder 2.1.1
Thank you

"id": "filepicker-simple-editor",? This is not JSON object but JavaScript object - there is no need for that.