Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #44

Merged
merged 33 commits into from
May 4, 2023
Merged

Dev #44

merged 33 commits into from
May 4, 2023

Conversation

hec7orci7o
Copy link
Contributor

No description provided.

export async function getServerSideProps(context) {
const { id, token } = context.params;

const res2 = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/v1/auth/verify/${id}/${token}`)

Check failure

Code scanning / CodeQL

Server-side request forgery

The [URL](1) of this request depends on a [user-provided value](2).
Comment on lines +131 to +136
const res2 = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/v1/users/${context.params.id}`, {
method: 'GET',
headers: {
Cookie: req.headers.cookie,
},
})

Check failure

Code scanning / CodeQL

Server-side request forgery

The [URL](1) of this request depends on a [user-provided value](2).
@hec7orci7o hec7orci7o merged commit 87679d6 into main May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants