diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-05-04 17:36:33 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-05-04 17:39:29 +0300 |
| commit | c90f8a05bf792e61db250f210834cdabcc0b7906 (patch) | |
| tree | d2d610e9dc3e1a856a6f9be2510f4a323ee0126c /web/html/modals | |
| parent | 9f96ef83ece25934dfadec69aff3fe91e14301cd (diff) | |
fix(security): sanitize remote IP headers and escape log viewer output
#4135
Diffstat (limited to 'web/html/modals')
| -rw-r--r-- | web/html/modals/client_modal.html | 2 | ||||
| -rw-r--r-- | web/html/modals/inbound_modal.html | 2 | ||||
| -rw-r--r-- | web/html/modals/xray_outbound_modal.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/web/html/modals/client_modal.html b/web/html/modals/client_modal.html index f66c01e6..65a481f6 100644 --- a/web/html/modals/client_modal.html +++ b/web/html/modals/client_modal.html @@ -7,7 +7,7 @@ :style="{ marginBottom: '10px', display: 'block', textAlign: 'center' }">Account is (Expired|Traffic Ended) And Disabled</a-tag> </template> - {{template "form/client"}} + {{template "form/client" .}} </a-modal> <script> const clientModal = { diff --git a/web/html/modals/inbound_modal.html b/web/html/modals/inbound_modal.html index 73918f60..ca896096 100644 --- a/web/html/modals/inbound_modal.html +++ b/web/html/modals/inbound_modal.html @@ -2,7 +2,7 @@ <a-modal id="inbound-modal" v-model="inModal.visible" :title="inModal.title" :dialog-style="{ top: '20px' }" @ok="inModal.ok" :confirm-loading="inModal.confirmLoading" :closable="true" :mask-closable="false" :class="themeSwitcher.currentTheme" :ok-text="inModal.okText" cancel-text='{{ i18n "close" }}'> - {{template "form/inbound"}} + {{template "form/inbound" .}} </a-modal> <script> // Make inModal globally available to ensure it works with any base path diff --git a/web/html/modals/xray_outbound_modal.html b/web/html/modals/xray_outbound_modal.html index 89005069..eb536be3 100644 --- a/web/html/modals/xray_outbound_modal.html +++ b/web/html/modals/xray_outbound_modal.html @@ -3,7 +3,7 @@ :confirm-loading="outModal.confirmLoading" :closable="true" :mask-closable="false" :ok-button-props="{ props: { disabled: !outModal.isValid } }" :style="{ overflow: 'hidden' }" :ok-text="outModal.okText" cancel-text='{{ i18n "close" }}' :class="themeSwitcher.currentTheme"> - {{template "form/outbound"}} + {{template "form/outbound" .}} </a-modal> <script> const outModal = { |
