mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-14 19:35:38 +00:00
Use decodeURI for comment ID searches as well as heading searches
Bug: T356199 Change-Id: I8d366c706692caf89a2af9f11c14a9aad9422b7c
This commit is contained in:
parent
6feddf4938
commit
df7d101cd2
|
@ -599,7 +599,7 @@ function init( $container, state ) {
|
|||
}
|
||||
} else if ( highlightResult.highlighted.length === 0 && highlightResult.requested.length === 1 ) {
|
||||
findCommentQuery = {
|
||||
idorname: highlightResult.requested[ 0 ]
|
||||
idorname: decodeURI( highlightResult.requested[ 0 ] )
|
||||
};
|
||||
isHeading = highlightResult.requested[ 0 ].slice( 0, 1 ) === 'h';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue