aboutsummaryrefslogtreecommitdiff
path: root/_www/http_target.ts
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-10-17 15:31:49 +0700
committerShulhan <ms@kilabit.info>2021-10-17 23:43:04 +0700
commit4707e8dcce49a56a04c4869c8042979fef616189 (patch)
treede85a780dbf38c7d4deae8dd8c3de6b514a6af70 /_www/http_target.ts
parentd1bb05be9538a793fca37d3dcdcb8f637134398e (diff)
downloadgorankusu-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.ts3
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() {