mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
feature(cloudcmd) improve support of NBSP
This commit is contained in:
parent
e129ab6a79
commit
42c8fd7bfe
8 changed files with 40 additions and 39 deletions
|
|
@ -229,7 +229,7 @@ test('cloudcmd: route: not found', async (t) => {
|
|||
|
||||
test('cloudcmd: route: sendIndex: encode', async (t) => {
|
||||
const name = '"><svg onload=alert(3);>';
|
||||
const nameEncoded = '"><svg onload=alert(3);>';
|
||||
const nameEncoded = '"><svg onload=alert(3);>';
|
||||
const path = '/';
|
||||
const files = [{
|
||||
name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue