-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix: replacing onclick redirections with link tag. #3263
Conversation
<span>Archived Issues</span> | ||
</div> | ||
<CustomMenu.MenuItem> | ||
<Link href={`/${workspaceSlug}/projects/${project?.id}/archived-issues/`}> |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium
user-provided value
<span>Settings</span> | ||
</div> | ||
<CustomMenu.MenuItem> | ||
<Link href={`/${workspaceSlug}/projects/${project?.id}/settings`}> |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium
user-provided value
)} | ||
</h5> | ||
</div> | ||
<Link className="basis-1/2 p-4" href={`/${workspaceSlug}/workspace-views/assigned`}> |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium
user-provided value
</Link> | ||
<Link | ||
className="basis-1/2 border-l border-custom-border-200 p-4" | ||
href={`/${workspaceSlug}/workspace-views/all-issues`} |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium
user-provided value
)} | ||
</h5> | ||
</div> | ||
<Link className="basis-1/2 p-4" href={`/${workspaceSlug}/workspace-views/all-issues`}> |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium
user-provided value
</Link> | ||
<Link | ||
className="basis-1/2 border-l border-custom-border-200 p-4" | ||
href={`/${workspaceSlug}/workspace-views/all-issues`} |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium
Problem:
Some of the redirections are not working as links instead working as buttons to redirect the user to different pages.
Resolution:
Replacing all button click editions with nextjs link tags to enables the browser functionalities like copy address