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

Prevent 500 response when adjunct is empty #283

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

Wadeck
Copy link
Contributor

@Wadeck Wadeck commented Nov 16, 2021

When you request http://localhost:8080/adjuncts/xxxx/lib/form/link/link.js it's working as expected but when you try with just /adjuncts/xxxx (without rest of path), the path is an empty String and thus, cannot call charAt(0) on it, leading to a 500 error.

@timja timja added the bug label Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants