paypal/squbs

Webcontext can start with `/`

Open

#340 opened on Dec 2, 2016

View on GitHub
 (2 comments) (1 reaction) (0 assignees)Scala (1,384 stars) (248 forks)batch import
help wanted

Description

The doc currently reads:

The web-context is a string that uniquely identifies the web context of a request to be dispatched to this service. It MUST NOT start with a / character. It can have / characters inside as segment separators in case of multi-segment contexts. And it is allowed to be "" for root context. If multiple services match the request, the longest context match takes precedence.

We should actually allow it to start with a /. Otherwise, it might get annoying while troubleshooting in development.

Contributor guide