mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Fix load_location_hash when there are spaces in the challenge name (#634)
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user