Skip to content

Pymeacquire webui#1644

Draft
David-Baddeley wants to merge 4 commits into
python-microscopy:masterfrom
David-Baddeley:pymeacquire_webui
Draft

Pymeacquire webui#1644
David-Baddeley wants to merge 4 commits into
python-microscopy:masterfrom
David-Baddeley:pymeacquire_webui

Conversation

@David-Baddeley
Copy link
Copy Markdown
Contributor

Trying to make the pymeacquire webui a bit saner and better structured. Very much a work in progress.

Making a draft PR so progress and direction can be seen (e.g. @barentine ).

const redirect = urlParams.get('redirect') || '/';

// Redirect to main page
window.location.href = redirect;

Check failure

Code scanning / CodeQL

Client-side cross-site scripting High

Cross-site scripting vulnerability due to
user-provided value
.
const redirect = urlParams.get('redirect') || '/';

// Redirect to main page
window.location.href = redirect;

Check warning

Code scanning / CodeQL

Client-side URL redirect Medium

Untrusted URL redirection depends on a
user-provided value
.
@barentine
Copy link
Copy Markdown
Member

Thanks for sharing, David! Really looking forward to checking it out

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.

3 participants