Details
- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
Major
 - 
    2.2.3, 2.3 M1
 - 
    None
 
- 
        Unknown
 - 
        N/A
 - 
        N/A
 - 
        Pull Request accepted
 - 
        
 
Description
Livetable uses the fragment/hash of the URL to store the filtering (and sorting) configuration since XWIKI-4921. The implementation assumes that | is left untouched in the fragment. Unfortunately, there are URL parser implementations (like Java's URI) that insist on encoding | as %7C. The same happens under Linux when using xdg-open to open a URL. This is due to differences between the original URI/URL specification and the WHATWG URL standard that is implemented by browsers.
Livetable should recover the configuration even after | has been replaced by %7C. This is possible because Livetable configurations always start with |t=, which doesn't occur anywhere else inside the configuration as then = would have been encoded, too. It is thus possible to fix the hash of the location by replacing %7Ct= by |t= before the configuration is parsed.
Attachments
Issue Links
- blocks
 - 
                    
XWIKI-20549 Provide a new script service API to check trustfulness of an URI
-         
 - Closed
 
 -         
 
- is duplicated by
 - 
                    
XWIKI-9302 The parameters specified in an "anchor" are encoded
-         
 - Closed
 
 -