security update (prototype pollution prevention) Object.freeze
This commit is contained in:
parent
f828d6ed3d
commit
44da17c851
@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| -------------- | -------------- | -------- |
|
||||
| 4.30.3 | 2020-11-25 | security update (prototype pollution prevention) Object.freeze |
|
||||
| 4.30.2 | 2020-11-25 | security update (prototype pollution prevention) |
|
||||
| 4.30.1 | 2020-11-12 | updated docs |
|
||||
| 4.30.0 | 2020-11-12 | `get()` possibility to provide params |
|
||||
|
||||
@ -83,6 +83,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">4.30.3</th>
|
||||
<td>2020-11-25</td>
|
||||
<td>security update (prototype pollution prevention) Object.freeze</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">4.30.2</th>
|
||||
<td>2020-11-25</td>
|
||||
|
||||
@ -168,7 +168,7 @@
|
||||
<img class="logo" src="assets/logo.png">
|
||||
<div class="title">systeminformation</div>
|
||||
<div class="subtitle"><span id="typed"></span></div>
|
||||
<div class="version">Current Version: <span id="version">4.30.2</span></div>
|
||||
<div class="version">Current Version: <span id="version">4.30.3</span></div>
|
||||
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
||||
</div>
|
||||
<div class="down">
|
||||
|
||||
@ -21,6 +21,9 @@
|
||||
// Dependencies
|
||||
// ----------------------------------------------------------------------------------
|
||||
|
||||
Object.freeze(String.prototype);
|
||||
Object.freeze(Object.prototype);
|
||||
|
||||
const lib_version = require('../package.json').version;
|
||||
const util = require('./util');
|
||||
const system = require('./system');
|
||||
|
||||
@ -41,7 +41,7 @@ function inetChecksite(url, callback) {
|
||||
s[i] === '{' ||
|
||||
s[i] === '}')) {
|
||||
const sl = s[i].toLowerCase();
|
||||
if (sl[0] && !sl[1]) {
|
||||
if (sl && sl[0] && !sl[1]) {
|
||||
urlSanitized = urlSanitized + sl[0];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user