mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 11:59:35 +00:00
fix(security): sanitize remote IP headers and escape log viewer output
#4135
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user