more browser fixes.
This commit is contained in:
parent
f59ecaeb7f
commit
c97551ba1f
@ -199,6 +199,7 @@ more bitcoin magic).</small>
|
|||||||
if (items.length === 20) {
|
if (items.length === 20) {
|
||||||
el = items.shift();
|
el = items.shift();
|
||||||
tdiv.removeChild(el);
|
tdiv.removeChild(el);
|
||||||
|
el.onmouseup = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
el = create('<a style="display:block;" href="#'
|
el = create('<a style="display:block;" href="#'
|
||||||
|
|||||||
@ -78,7 +78,7 @@ module.exports = function wsproxy(options) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!/^[a-zA-Z0-9\.:]+$/.test(host)) {
|
if (!/^[a-zA-Z0-9\.:\-]+$/.test(host)) {
|
||||||
utils.error('Client gave a bad host.');
|
utils.error('Client gave a bad host.');
|
||||||
ws.emit('tcp close');
|
ws.emit('tcp close');
|
||||||
ws.disconnect();
|
ws.disconnect();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user