paypal/squbs

Webcontext can start with `/`

開放

#340 建立於 2016年12月2日

 (2 則留言) (1 個反應) (0 位負責人)Scala (248 個分叉)batch import
help wanted

倉庫指標

星標
 (1,384 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南