History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: POSI-40
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Unassigned
Reporter: Anonymous
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Composition Plugin

Cloak cookie data eventually breaks Confluence

Created: 01/Feb/06 10:29 PM   Updated: 09/Jul/06 06:14 AM
Component/s: {cloak}
Affects Version/s: 1.4.8
Fix Version/s: Soon

Time Tracking:
Not Specified


 Description  « Hide
Bad Request

Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

Cookie: JSESSIONID=md7Wabtx465BgliNKq; contentId:1041:cloakData=content_Overview%3Du%7Ccontent_Downloads%3Du%7Ccontent_Downloads_3%3Du%7Ccontent_Release%2520History%3Dc%7Ccontent_Release%2520History_5%3Dc%7Ccontent_Bugs%3Du%7Ccontent_Macros%3Du%7Ccontent_Macros_bookings%3Dc%7Ccontent_Examples%3Dc%7Ccontent_Examples_16%3Dc%7Ccontent_Examples_17%3Dc%7C; contentId:1041:deckData=deck%253AJira%3DBugs%7Cdeck%253Abookings%3DDescription%7C; contentId:1628:cloakData=; contentId:1628:deckData=deck%253A%255BUnique%2520Deck%2520ID%255D%3DCard%25202%7C; contentId:1037:cloakData=content_Overview%3Du%7Ccontent_Downloads%3Du%7Ccontent_Downloads_3%3Du%7Ccontent_Downloads_4%3Du%7Ccontent_Release%2520History%3Dc%7Ccontent_Release%2520History_6%3Dc%7Ccontent_Release%2520History_7%3Dc%7Ccontent_Release%2520History_8%3Dc%7Ccontent_Release%2520History_9%3Dc%7Ccontent_Release%2520History_10%3Dc%7Ccontent_Release%2520History_11%3Dc%7Ccontent_Release%2520History_12%3Dc%7Ccontent_Release%2520History_13%3Dc%7Ccontent_Bugs%3Du%7Ccontent_Macros%3Du%7Ccontent_Macros_composition-setup%3Dc%7Ccontent_Macros_float%3Dc%7Ccontent_Macros_cloak%3Dc%7Ccontent_Macros_toggle-cloak%3Dc%7Ccontent_Macros_deck%3Dc%7Ccontent_Macros_card%3Dc%7Ccontent_Examples%3Du%7Ccontent_Examples_35%3Dc%7Ccontent_Examples_36%3Dc%7Ccontent_Examples_37%3Du%7C; contentId:1037:deckData=deck%253AJira%3DBugs%7Cdeck%253Acomposition-setup%3DDescription%7Cdeck%253Afloat%3DDescription%7Cdeck%253Acloak%3DDescription%7Cdeck%253Atoggle-cloak%3DDescription%7Cdeck%253Adeck%3DDescription%7Cdeck%253Acard%3DDescription%7C; contentId:1038:cloakData=content_Downloads%3Du%7Ccontent_Downloads_2%3Du%7Ccontent_Downloads_3%3Du%7Ccontent_Release%2520History%3Dc%7Ccontent_Release%2520History_5%3Dc%7Ccontent_Release%2520History_6%3Dc%7Ccontent_Release%2520History_7%3Dc%7Ccontent_Release%2520History_8%3Dc%7Ccontent_Release%2520History_9%3Dc%7Ccontent_Release%2520History_10%3Dc%7Ccontent_Release%2520History_11%3Dc%7Ccontent_Release%2520History_12%3Dc%7Ccontent_Release%2520History_13%3Dc%7Ccontent_Bugs%3Du%7Ccontent_Macros%3Du%7Ccontent_Macros_add-page%3Dc%7Ccontent_Macros_link-page%3Dc%7Ccontent_Macros_link-to%3Du%7Ccontent_Macros_link-to_Global%2520Locations%3Dc%7Ccontent_Macros_link-to_Space%2520Locations%3Dc%7Ccontent_Macros_link-to_RSS%2520Feeds%3Dc%7Ccontent_Macros_link-to_Page%2520Locations%3Dc%7Ccontent_Macros_incoming-links%3Dc%7C; contentId:1038:deckData=deck%253AJira%3DBugs%7Cdeck%253Aadd-page%3DDescription%7Cdeck%253Alink-page%3DDescription%7Cdeck%253Alink-to%3DSee%2520Also%7Cdeck%253Aincoming-links%3DDescription%7C; contentId:1532:cloakData=content_Overview%3Du%7Ccontent_Downloads%3Du%7Ccontent_Downloads_3%3Du%7Ccontent_Release%2520History%3Dc%7Ccontent_Release%2520History_5%3Dc%7Ccontent_Release%2520History_6%3Dc%7Ccontent_Release%2520History_7%3Dc%7Ccontent_Bugs%3Du%7Ccontent_Macros%3Du%7Ccontent_Macros_secure-include%3Du%7C; contentId:1532:deckData=deck%253AJira%3DBugs%7Cdeck%253Asecure-include%3DDescription%7C; contentId:1034:cloakData=content_Overview%3Du%7Ccontent_Downloads%3Du%7Ccontent_Downloads_3%3Du%7Ccontent_Release%2520History%3Dc%7Ccontent_Release%2520History_5%3Dc%7Ccontent_Release%2520History_6%3Dc%7Ccontent_Release%2520History_7%3Dc%7Ccontent_Release%2520History_8%3Dc%7Ccontent_Release%2520History_9%3Dc%7Ccontent_Release%2520History_10%3Dc%7Ccontent_Release%2520History_11%3Dc%7Ccontent_Release%2520History_12%3Dc%7Ccontent_Release%2520History_13%3Dc%7Ccontent_Release%2520History_14%3Dc%7Ccontent_Release%2520History_15%3Dc%7Ccontent_Release%2520History_16%3Dc%7Ccontent_Release%2520History_17%3Dc%7Ccontent_Release%2520History_18%3Dc%7Ccontent_Release%2520History_19%3Dc%7Ccontent_Release%2520History_20%3Dc%7Ccontent_Release%2520History_21%3Dc%7Ccontent_Bugs%3Du%7Ccontent_Macros%3Du%7Ccontent_Macros_boilerplate%3Dc%7Ccontent_Macros_scaffold%3Dc%7Ccontent_Macros_scaffold_repeating-data%3Dc%7Ccontent_Macros_scaffold_table-data%3Dc%7Ccontent_Macros_scaffold_eval-data%3Dc%7Ccontent_Macros_scaffold_hidden-data%3Dc%7Ccontent_Macros_scaffold_text-data%3Dc%7Ccontent_Macros_scaffold_excerpt-data%3Dc%7Ccontent_Macros_scaffold_number-data%3Dc%7Ccontent_Macros_scaffold_date-data%3Dc%7Ccontent_Macros_scaffold_list-data%3Dc%7Ccontent_Macros_scaffold_list-data_list-option%3Dc%7Ccontent_Macros_scaffold_list-data_content-options%3Dc%7Ccontent_Macros_scaffold_list-data_user-options%3Dc%7Ccontent_Macros_scaffold_list-data_attachment-options%3Dc%7C; contentId:1034:deckData=deck%253AJira%3DBugs%7Cdeck%253Aboilerplate%3DDescription%7Cdeck%253Ascaffold%3DDescription%7Cdeck%253Arepeating-data%3DDescription%7Cdeck%253Atable-data%3DDescription%7Cdeck%253Aeval-data%3DDescription%7Cdeck%253Ahidden-data%3DDescription%7Cdeck%253Atext-data%3DDescription%7Cdeck%253Aexcerpt-data%3DDescription%7Cdeck%253Anumber-data%3DDescription%7Cdeck%253Adate-data%3DDescription%7Cdeck%253Alist-data%3DDescription%7Cdeck%253Alist-option%3DDescription%7Cdeck%253Acontent-options%3DDescription%7Cdeck%253Auser-options%3DDetails%7Cdeck%253Aattachment-options%3DDetails%7C; contentId:1025:cloakData=content_Overview%3Du%7Ccontent_Downloads%3Du%7Ccontent_Downloads_3%3Du%7Ccontent_Release%2520History%3Dc%7Ccontent_Release%2520History_5%3Dc%7Ccontent_Release%2520History_6%3Dc%7Ccontent_Release%2520History_7%3Dc%7Ccontent_Bugs%3Du%7Ccontent_Macros%3Du%7Ccontent_Macros_content-info%3Du%7Ccontent_Other%2520Information%3Dc%7C; contentId:1025:deckData=deck%253AJira%3DBugs%7Cdeck%253Acontent-info%3DDescription%7C; contentId:983:cloakData=content_Overview%3Du%7Ccontent_Downloads%3Du%7Ccontent_Downloads_3%3Du%7Ccontent_Downloads_4%3Du%7Ccontent_Release%2520History%3Dc%7Ccontent_Release%2520History_6%3Dc%7Ccontent_Release%2520History_7%3Dc%7Ccontent_Release%2520History_8%3Dc%7Ccontent_Release%2520History_9%3Dc%7Ccontent_Release%2520History_10%3Dc%7Ccontent_Bugs%3Du%7Ccontent_Macros%3Du%7Ccontent_Macros_user%2520visibility%3Dc%7Ccontent_Macros_content%2520visibility%3Dc%7Ccontent_Examples%3Dc%7Ccontent_Examples_28%3Dc%7Ccontent_Examples_29%3Dc%7Ccontent_Examples_30%3Dc%7Ccontent_Examples_31%3Dc%7Ccontent_Examples_32%3Dc%7Ccontent_Examples_33%3Dc%7Ccontent_Examples_34%3Dc%7C; contentId:983:deckData=deck%253AJira%3DBugs%7C; contentId:1029:cloakData=content_Overview%3Du%7Ccontent_Downloads%3Du%7Ccontent_Downloads_3%3Du%7Ccontent_Downloads_4%3Du%7Ccontent_Downloads_5%3Du%7Ccontent_Release%2520History%3Dc%7Ccontent_Release%2520History_7%3Dc%7Ccontent_Release%2520History_8%3Dc%7Ccontent_Release%2520History_9%3Dc%7Ccontent_Release%2520History_10%3Dc%7Ccontent_Release%2520History_11%3Dc%7Ccontent_Release%2520History_12%3Dc%7Ccontent_Release%2520History_13%3Dc%7Ccontent_Release%2520History_14%3Dc%7Ccontent_Bugs%3Du%7Ccontent_Other%2520Components%3Dc%7Ccontent_Other%2520Components_contextAssistant%3Dc%7Ccontent_Other%2520Components_linkingAssistant%3Dc%7Ccontent_Other%2520Components_securityAssistant%3Dc%7Ccontent_Other%2520Components_ConfluenceMacro%3Dc%7Ccontent_Other%2520Components_Storage%3Dc%7Ccontent_Other%2520Components_Math%3Dc%7C; contentId:1029:deckData=deck%253AJira%3DBugs%7Cdeck%253AcontextAssistant%3DDescription%7Cdeck%253AlinkingAssistant%3DDescription%7Cdeck%253AsecurityAssistant%3DDescription%7Cdeck%253AConfluenceMacro%3DDescription%7Cdeck%253AStorage%3DDescription%7Cdeck%253AMath%3DDescription%7C; contentId:1030:cloakData=content_Downloads%3Du%7Ccontent_Downloads_2%3Du%7Ccontent_Downloads_3%3Du%7Ccontent_Release%2520History%3Dc%7Ccontent_Release%2520History_5%3Dc%7Ccontent_Release%2520History_6%3Dc%7Ccontent_Release%2520History_7%3Dc%7Ccontent_Release%2520History_8%3Dc%7Ccontent_Release%2520History_9%3Dc%7Ccontent_Release%2520History_10%3Dc%7Ccontent_Release%2520History_11%3Dc%7Ccontent_Bugs%3Du%7Ccontent_Macros%3Du%7Ccontent_Macros_toc%3Dc%7Ccontent_Macros_toc-zone%3Dc%7Ccontent_Examples%3Du%7Ccontent_Examples_26%3Dc%7Ccontent_Examples_27%3Dc%7Ccontent_Examples_28%3Dc%7Ccontent_Examples_29%3Du%7C; contentId:1030:deckData=deck%253AJira%3DBugs%7C; contentId:1035:cloakData=content_Overview%3Du%7Ccontent_Downloads%3Du%7Ccontent_Downloads_3%3Du%7Ccontent_Release%2520History%
Apache/2.0.54 (Linux/SUSE) Server at adaptavist.wiki.adaptavist.com Port 80



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Peterson - 06/Feb/06 05:18 AM
As a workaround, you can turn cloak memory off, which will clear the cookie and not store the last state the visitor left the cloaks. Add the following: {composition-setup}
cloak.memory.duration=0{composition-setup}

David Peterson - 29/Mar/06 11:30 PM
A work-around here might be to detect if the cookie value will be over 255 characters and split it. An extra cookie would be set containing the number of 'splits', which is then used to reconstruct the original value before thawing.

David Peterson - 29/Mar/06 11:33 PM
Hmm...looking at the cookie again, that might not be possible. Perhaps the storage can be on a per-specific-page level rather than at the global level which seems to be what's happening at the moment. Although I seem to recal investigating this when I was first writing this plugin...

David Peterson - 09/Jul/06 06:14 AM
Putting this off again. Having looked at the code, I'm unsure how to get around this. Data is being stored at the top-level because otherwise you will have different memory for a page accessed via /display/SPACE/Page+Name than you will if the same page is accessed via /pages/viewPage.action?pageId=XXX, even though it is logically the same page...

For the moment, I have made memory switched off by default. If people wish to use it, they can turn it on explicitly.