Ticket #2117 (closed Bug: fixed)

Opened 7 years ago

Last modified 6 years ago

File browser does not work under domain relaxation mode

Reported by: wwalc Owned by: martinkou
Priority: Normal Milestone: FCKeditor 2.6.2
Component: File Browser Version: FCKeditor 2.6
Keywords: Confirmed Review- Cc:

Description

I've created separate ticket, because it's probably a different issue than #1919.

  1. Open _sample01.html in domain relaxation mode under Firefox 2.0.0.13.
  2. Open the image dialog.
  3. Click "Browser Server".

Even if there are images in the folder, they are not displayed. In frmresourceslist.html there is an empty body

<body class="FileArea"/>

although GetFoldersAndFiles has been called succesfully.

Attachments

2117.patch (2.2 KB) - added by martinkou 6 years ago.

Change History

comment:1 Changed 7 years ago by wwalc

  • Keywords Confirmed added

comment:2 Changed 7 years ago by martinkou

The problem occurs in the php sample as well.

comment:3 Changed 6 years ago by martinkou

  • Status changed from new to assigned
  • Owner set to martinkou

comment:4 Changed 6 years ago by martinkou

It seems to work in Firefox 3 RC2, IE6 and Safari 3.1. Seems like a FF2 specific problem.

Domain relaxation breaks Opera 9.50 now :(.

Changed 6 years ago by martinkou

comment:5 Changed 6 years ago by martinkou

  • Keywords Review? added

comment:6 Changed 6 years ago by fredck

  • Keywords Review- added; Review? removed

I'm not able to reproduce this problem with the current trunk. The list of files correctly display, using FF2. Can anyone else confirm it?

There is another bug instead with domain relaxation. When clicking on one of the images in the File Browser, a "Permission denied" error is thrown and the image URL is not returned to the image dialog. Applying the patch doesn't get it fixed though.

comment:7 Changed 6 years ago by martinkou

The "Permission denied" error with the image URLs are caused by the fix to #2115... which also magically "fixes" this ticket.

But the #2115 fix actually disabled the domain relaxation logic in the file browser HTMLs and so it is actually causing other problems, such as the one you just see. I've filed the new issues to #2296. The patch to #2296 should be applied in conjunction to my patch to get a fully working image dialog.

comment:8 Changed 6 years ago by fredck

  • Status changed from assigned to closed
  • Resolution set to fixed

Ok... the problem reported in this ticket has been fixed with [2059], which introduced other issues, but have nothing to do with this ticket (see #2296).

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy