]> git.proxmox.com Git - mirror_xterm.js.git/commitdiff
Support linking = in query strings
authorDaniel Imms <daimms@microsoft.com>
Thu, 23 Feb 2017 17:42:59 +0000 (09:42 -0800)
committerDaniel Imms <daimms@microsoft.com>
Thu, 23 Feb 2017 17:42:59 +0000 (09:42 -0800)
src/Linkifier.ts

index 7a813733b2655643d8f09aa6128b8f90f135bb3d..1381bf8bc9408bd441bb2ffe411ec87902e18526 100644 (file)
@@ -16,7 +16,7 @@ const localHostClause = '(localhost)';
 const portClause = '(:\\d{1,5})';
 const hostClause = '((' + domainBodyClause + '\\.' + tldClause + ')|' + ipClause + '|' + localHostClause + ')' + portClause + '?';
 const pathClause = '(\\/[\\/\\w\\.-]*)*';
-const queryStringClause = '(\\?[\\w\\[\\]\\(\\)\\/\\?\\!#@$&\'*+,:;]*)?';
+const queryStringClause = '(\\?[\\w\\[\\]\\(\\)\\/\\?\\!#@$&\'*+,:;\\=]*)?';
 const negatedPathCharacterSet = '[^\\/\\w\\.-]+';
 const bodyClause = hostClause + pathClause + queryStringClause;
 const start = '(?:^|' + negatedDomainCharacterSet + ')(';