K-111219: Reflected XSS
parent
6a7f743fb7
commit
0ed674c4be
File diff suppressed because one or more lines are too long
|
@ -244,12 +244,31 @@ THE SOFTWARE.
|
||||||
// Ensure there is a default path
|
// Ensure there is a default path
|
||||||
'$props.data.path': {
|
'$props.data.path': {
|
||||||
handler(data) {
|
handler(data) {
|
||||||
|
data.computed = data.computed.replace(/<.+>/, '');
|
||||||
if (!data.computed.trim()) {
|
if (!data.computed.trim()) {
|
||||||
data.computed = `/var/www/${this.$props.data.domain.computed}`;
|
data.computed = `/var/www/${this.$props.data.domain.computed}`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deep: true,
|
deep: true,
|
||||||
},
|
},
|
||||||
|
'$props.data.documentRoot': {
|
||||||
|
handler(data) {
|
||||||
|
data.computed = data.computed.replace(/<.+>/, '');
|
||||||
|
},
|
||||||
|
deep: true,
|
||||||
|
},
|
||||||
|
'$props.data.listenIpv4': {
|
||||||
|
handler(data) {
|
||||||
|
data.computed = data.computed.replace(/<.+>/, '');
|
||||||
|
},
|
||||||
|
deep: true,
|
||||||
|
},
|
||||||
|
'$props.data.listenIpv6': {
|
||||||
|
handler(data) {
|
||||||
|
data.computed = data.computed.replace(/<.+>/, '');
|
||||||
|
},
|
||||||
|
deep: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -372,6 +372,12 @@ THE SOFTWARE.
|
||||||
},
|
},
|
||||||
deep: true,
|
deep: true,
|
||||||
},
|
},
|
||||||
|
'$props.data.letsEncryptCertRoot': {
|
||||||
|
handler(data) {
|
||||||
|
data.computed = data.computed.replace(/<.+>/, '');
|
||||||
|
},
|
||||||
|
deep: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue