mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-24 00:09:12 +01:00
🔒️ Fix regex security warning
This commit is contained in:
@@ -137,7 +137,7 @@ export default function LoginPage({
|
||||
);
|
||||
}
|
||||
|
||||
const regexExp = /^\/{1}[A-z\/]*$/;
|
||||
const regexExp = /^\/{1}[A-Za-z\/]*$/;
|
||||
|
||||
export const getServerSideProps: GetServerSideProps = async ({ locale, req, res, query }) => {
|
||||
const session = await getServerAuthSession({ req, res });
|
||||
|
||||
Reference in New Issue
Block a user