-
Notifications
You must be signed in to change notification settings - Fork 76
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
safeNextPathFrom(): update test cases #1007
safeNextPathFrom(): update test cases #1007
Conversation
bc02fdd
to
97fddf3
Compare
@matthew-white the |
I don't quite see the change. The test has: [ '/login', '/#/' ], But isn't that what Backend already does? Or am I misunderstanding? central-backend/lib/util/html.js Lines 27 to 28 in bab9ef9
No strong feelings! Unlike Frontend, Backend doesn't need special logic around |
97fddf3
to
8c0ca0c
Compare
@matthew-white I've updated the PR to remove irrelevant tests, and add one for path traversal. |
No description provided.