mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-29 21:41:00 +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;
|
var _fn = decodeURIComponent;
|
||||||
str = str.toUpperCase();
|
str = str.toUpperCase();
|
||||||
try {
|
try {
|
||||||
var toReturn = _fn(str.replace(/%5F/g, "_"));
|
var toReturn = _fn(str.replace(/%5F/g, "_").replace(/%27/g, "'"));
|
||||||
return toReturn.toLowerCase();
|
return toReturn.toLowerCase();
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
return str.toLowerCase();
|
return str.toLowerCase();
|
||||||
|
|||||||
Reference in New Issue
Block a user