Ticket #1253 (closed defect: fixed)
Slider macro capable of creating bad cookies
|Reported by:||jdlrobson||Owned by:||MartinBudden|
This creates a blank cookie called cookie. This is fine in a normal TiddlyWiki but can cause breakages in environments such as TiddlySpace? which depend on valid parseable cookies. As a result I broke my space with the message "400 Bad Request: malformed cookie: Illegal key value: cookie" just by using this seemingly harmless macro. The only way to fix my space was then to remove the macro call and clear out my cookies.
It seems that saving cookies with the slider macro only works for cookie names that begin with 'chk' So for instance <<slider chkCookie GettingStarted myslider>> works fine.
I think the core needs to be updated to prevent the storing of blank cookies.