Files
gerrit/gerrit-httpd
Edwin Kempin 834458e26c UrlModule: Add comment about missing binding for /plugins/ REST collection
UrlModule binds servlets for all REST root collections except for
'/plugins/'. Due to this plugins cannot add REST views on PLUGIN_KIND.
However this is intentional. '/plugins/' is already handled by
HttpPluginServlet which is bound in HttpPluginModule. Binding 2
different servlets on the same regex would result in undefined
behavior. If a plugin is serving anything under its '/plugins/<id>/'
namespace like a static file for JavaScript or a custom servlet or
protocol it may no longer work if UrlModule's binding is being used.

Add a comment to UrlModule so we are not tempted to add a binding for
a servlet that handles '/plugins/' here, as this would break the
plugins as described above.

Change-Id: I50a7883d5674c54d7637fd1ee2767b171c773e58
Signed-off-by: Edwin Kempin <ekempin@google.com>
2016-09-05 09:50:56 +02:00
..
2016-04-20 22:02:49 +02:00
2016-06-14 21:12:02 +02:00