We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf7633e commit 92feb81Copy full SHA for 92feb81
doc/api/_static/javadoc/index.html
@@ -10,6 +10,12 @@
10
if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
11
targetPage = "undefined";
12
function validURL(url) {
13
+ try {
14
+ url = decodeURIComponent(url);
15
+ }
16
+ catch (error) {
17
+ return false;
18
19
var pos = url.indexOf(".html");
20
if (pos == -1 || pos != url.length - 5)
21
return false;
@@ -21,7 +27,8 @@
27
if ('a' <= ch && ch <= 'z' ||
22
28
'A' <= ch && ch <= 'Z' ||
23
29
ch == '$' ||
24
- ch == '_') {
30
+ ch == '_' ||
31
+ ch.charCodeAt(0) > 127) {
25
32
allowNumber = true;
26
33
allowSep = true;
34
} else if ('0' <= ch && ch <= '9'
0 commit comments