Skip to content

add cookie path config option and use settings for js cookies#10

Closed
johndoh wants to merge 2 commits intoroundcube:masterfrom
johndoh:master
Closed

add cookie path config option and use settings for js cookies#10
johndoh wants to merge 2 commits intoroundcube:masterfrom
johndoh:master

Conversation

@johndoh
Copy link
Copy Markdown
Contributor

@johndoh johndoh commented May 26, 2012

  1. add a config optioni to allow the setting for the cookie path. the domain and secure optoins are already configurable, path is the only option not current covered.

  2. some cookies are also created by javascript, positions of splitter bars etc. they should also use the cookie options defined in the main config file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add ini_get('session.cookie_domain') as default value to get()

@alecpl
Copy link
Copy Markdown
Member

alecpl commented May 30, 2012

TinyMCE also uses cookies, but we don't want to modify their code. We should ask them for changes.

@johndoh
Copy link
Copy Markdown
Contributor Author

johndoh commented Jun 17, 2012

the tinymce cookie code is never used by rc. its only called in 2 places: tiny_mce/plugins/paste/editor_plugin.js, tiny_mce/themes/advanced/editor_template.js. In both cases the functions are never called because of the settings used by rc. for completeness the cookie options should still be set in tinymce so that if someone extends rc in a way that uses them in it will work but since it is not part of the core i'm not sure it needs to hold up development.

@alecpl
Copy link
Copy Markdown
Member

alecpl commented Aug 20, 2012

Implemented in ae7027d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants