Skip to content

Commit 92feb81

Browse files
committed
Regenerated
1 parent cf7633e commit 92feb81

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

doc/api/_static/javadoc/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
1111
targetPage = "undefined";
1212
function validURL(url) {
13+
try {
14+
url = decodeURIComponent(url);
15+
}
16+
catch (error) {
17+
return false;
18+
}
1319
var pos = url.indexOf(".html");
1420
if (pos == -1 || pos != url.length - 5)
1521
return false;
@@ -21,7 +27,8 @@
2127
if ('a' <= ch && ch <= 'z' ||
2228
'A' <= ch && ch <= 'Z' ||
2329
ch == '$' ||
24-
ch == '_') {
30+
ch == '_' ||
31+
ch.charCodeAt(0) > 127) {
2532
allowNumber = true;
2633
allowSep = true;
2734
} else if ('0' <= ch && ch <= '9'

0 commit comments

Comments
 (0)