mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
fix mercurial hook integration tests
This commit is contained in:
@@ -30,10 +30,10 @@ public class WebResourceServlet extends HttpServlet {
|
|||||||
/**
|
/**
|
||||||
* exclude api requests and the old frontend servlets.
|
* exclude api requests and the old frontend servlets.
|
||||||
*
|
*
|
||||||
* TODO remove old protocol servlets
|
* TODO remove old protocol servlets and hook. Move /hook/hg to api?
|
||||||
*/
|
*/
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
static final String PATTERN = "/(?!api/|git/|hg/|svn/|debug/).*";
|
static final String PATTERN = "/(?!api/|git/|hg/|svn/|hook/).*";
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(WebResourceServlet.class);
|
private static final Logger LOG = LoggerFactory.getLogger(WebResourceServlet.class);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user