mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Update main.js
This commit is contained in:
committed by
GitHub
parent
9051b5b99f
commit
f3aabc3db1
@@ -955,7 +955,7 @@ function decodeChannelName(str) {
|
||||
var _fn = decodeURIComponent;
|
||||
str = str.toUpperCase();
|
||||
try {
|
||||
var toReturn = _fn(str.replace(/%5F/g, "_"));
|
||||
var toReturn = _fn(str.replace(/%5F/g, "_").replace(/%27/g, "'"));
|
||||
return toReturn.toLowerCase();
|
||||
} catch(e) {
|
||||
return str.toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user