Opened 11 years ago

Closed 9 years ago

#1354 closed task (wontfix)

ExtendedFileManager Support for PHP custom session handler

Reported by: guest Owned by:
Priority: normal Milestone: 0.96
Component: Plugins Version: trunk
Severity: normal Keywords:
Cc:

Description

Hi,
As you already know, xinha backend technique does not work when we user php custom session handling. because in this case it uses php default session handler and can't find the config info.

I modified ExtendedFileManager? \plugins\ExtendedFileManager?\config.inc.php and added the require codes.

How it works?
It check if the config has passed via url to the plugin in the first call, if it's it start the session and save the data into session so for next calls it uses data stored in session.

Sina Salek,
Regards

Attachments (2)

ExtendedFileManager_SupportForPHPCustomSessionHandler.patch (684 bytes) - added by guest 10 years ago.
New version of the patch which fixes a bug
Xinha_ImageManagerr_SupportForPHPCustomSessionHandler.patch (598 bytes) - added by guest 10 years ago.
Here is another patch for ImageManager? plugin

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by guest

New version of the patch which fixes a bug

Changed 10 years ago by guest

Here is another patch for ImageManager? plugin

comment:1 Changed 10 years ago by guest

It's important for integrating Xinha with other softwares.

comment:2 Changed 10 years ago by gogo

  • Resolution set to wontfix
  • Status changed from new to closed

Will not be committed, it makes an enormous security hole.

If you were to use this patch, it means anybody can fiddle with your IM config from javascript.

comment:3 Changed 10 years ago by guest

  • Resolution wontfix deleted
  • Status changed from closed to reopened
  • Type changed from defect to task

Oh, i see
I'll try to provide a workaround.
Right now i'm thinking about passing a custom file relative location via url to be included before initialization.

Thanks

comment:4 Changed 9 years ago by gogo

  • Resolution set to wontfix
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.