mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-05-30 17:09:34 +00:00
fix(security): sanitize remote IP headers and escape log viewer output
#4135
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
required: false
|
||||
}
|
||||
},
|
||||
template: `{{template "component/customStatistic"}}`,
|
||||
template: `{{template "component/customStatistic" .}}`,
|
||||
});
|
||||
</script>
|
||||
{{end}}
|
||||
@@ -34,7 +34,7 @@
|
||||
required: false,
|
||||
},
|
||||
},
|
||||
template: `{{template "component/persianDatepickerTemplate"}}`,
|
||||
template: `{{template "component/persianDatepickerTemplate" .}}`,
|
||||
data() {
|
||||
return {
|
||||
date: '',
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
template: `{{template "component/sidebar/content"}}`,
|
||||
template: `{{template "component/sidebar/content" .}}`,
|
||||
});
|
||||
</script>
|
||||
{{end}}
|
||||
@@ -175,7 +175,7 @@
|
||||
}
|
||||
});
|
||||
Vue.component('a-table-sort-trigger', {
|
||||
template: `{{template "component/sortableTableTrigger"}}`,
|
||||
template: `{{template "component/sortableTableTrigger" .}}`,
|
||||
props: {
|
||||
'item-index': {
|
||||
type: undefined,
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
}
|
||||
const themeSwitcher = createThemeSwitcher();
|
||||
Vue.component('a-theme-switch', {
|
||||
template: `{{template "component/themeSwitchTemplate"}}`,
|
||||
template: `{{template "component/themeSwitchTemplate" .}}`,
|
||||
data: () => ({
|
||||
themeSwitcher
|
||||
}),
|
||||
@@ -107,7 +107,7 @@
|
||||
}
|
||||
});
|
||||
Vue.component('a-theme-switch-login', {
|
||||
template: `{{template "component/themeSwitchTemplateLogin"}}`,
|
||||
template: `{{template "component/themeSwitchTemplateLogin" .}}`,
|
||||
data: () => ({
|
||||
themeSwitcher
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user