WhiteboardWebServer does not validate WebContext.name()

Description

WhiteboardWebServer uses ServletContextHelper, and uses WebContext.name() for HTTP_WHITEBOARD_CONTEXT_NAME.

That implies that the name has to match OSGi symbolic-name, which we do not enforce, leading to various weird things happening.

Check WebContext.name() before we start tickling the whiteboard to instantiate it, forcing users to pick reasonable names.

Environment

None

Activity

Done

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Priority

Created August 9, 2024 at 3:24 PM
Updated August 28, 2024 at 4:02 PM
Resolved August 28, 2024 at 4:02 PM