diff options
| author | Shulhan <ms@kilabit.info> | 2021-10-17 15:31:49 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-10-17 23:43:04 +0700 |
| commit | 4707e8dcce49a56a04c4869c8042979fef616189 (patch) | |
| tree | de85a780dbf38c7d4deae8dd8c3de6b514a6af70 /_www/http_target.ts | |
| parent | d1bb05be9538a793fca37d3dcdcb8f637134398e (diff) | |
| download | gorankusu-4707e8dcce49a56a04c4869c8042979fef616189.tar.xz | |
www: disable modifying the Base URL on target
The BaseURL should be only set once by server and read-only to client.
This is to prevent a malicious client attempt to attack non-predefined
target.
Diffstat (limited to '_www/http_target.ts')
| -rw-r--r-- | _www/http_target.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/_www/http_target.ts b/_www/http_target.ts index a12fa61..282a795 100644 --- a/_www/http_target.ts +++ b/_www/http_target.ts @@ -423,7 +423,8 @@ export class HttpTarget { private async onClickClearOutput() { this.el_out_request.innerText = "Raw request" this.el_out_response.innerText = "Raw response" - this.el_out_response_body.innerText = "JSON formatted response body" + this.el_out_response_body.innerText = + "JSON formatted response body" } private async onClickRun() { |
