• Robert Knight's avatar
    Fix decoding of the query section in "#annotations" fragments. · d0e4adac
    Robert Knight authored
    Use `decodeURIComponent` instead of `decodeURI` because
    `decodeURIComponent` decodes reserved characters (eg. ":", "/") whereas
    `decodeURI` does not.
    
    Avoid stubbing decodeURIComponent() in the tests and instead just use a
    malformed escape sequence which triggers an actual URIError when
    decoding.
    d0e4adac
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...