mirror of https://github.com/JohnHammond/CTFd.git
Fix load_location_hash when there are spaces in the challenge name (#634)
parent
4d6bf811ed
commit
38416ce5c6
|
@ -362,7 +362,7 @@ $.extend({
|
|||
|
||||
var load_location_hash = function () {
|
||||
if (window.location.hash.length > 0) {
|
||||
loadchalbyname(window.location.hash.substring(1));
|
||||
loadchalbyname(decodeURIComponent(window.location.hash.substring(1)));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue