question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cookies' names should be customizable

See original GitHub issue

Currrently, at least sessionID conflicts severely with many web frameworks’ own session cookie. It’s desirable to either change that generic name to something more Etherpad-specific or make the cookie name configurable.

Issue Analytics

  • State:open
  • Created 11 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
rhansencommented, Oct 25, 2020

#4423 changes the express_sid cookie to ep_express_sid, but isn’t sessionID the most problematic cookie?

0reactions
JohnMcLearcommented, Oct 24, 2020

https://github.com/ether/etherpad-lite/pull/4423 addresses the core problem by adding a prefix of ep_ to session cookie values. This doesn’t stop a plugin violating the namespace and we could do that by adding a prefix (either static value or from settings.json) to the setCookie and getCookie methods.

For now 4423 resolves this issue and we can be mindful of having a custom value that is set for all values in the future. For now I want to limit how many breaking changes we make so #4423 should get us through.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom Name Cookie - Etsy
Check out our custom name cookie selection for the very best in unique or custom, handmade pieces from our shops.
Read more >
Name plaque custom cookies - Pinterest
Circus Birthday Party Theme. Name plaque custom cookies.
Read more >
personalized name cookie decorating kit
The cutest gift with a personalized name! Everything you need to decorate your own personalized sugar cookies. Decorate them with icing as you...
Read more >
Customize Your Own Message (Vanilla Shortbread Cookies)
Add a special stamped message, wish, date, or name to your cookies. From the beautiful packaging to the very last bite, our buttery...
Read more >
Custom Photo Printed Cookies - Overnight Prints
Imagine your name, logo or picture in food safe ink printed directly to a sweetly glaze. Each photo printed cookie comes individually bagged...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found