Fix #2285
This commit is contained in:
parent
a219dbeafc
commit
1d9495d50b
@ -78,6 +78,7 @@ public class DistroFilter implements Filter {
|
|||||||
if (StringUtils.isBlank(serviceName)) {
|
if (StringUtils.isBlank(serviceName)) {
|
||||||
serviceName = req.getParameter("dom");
|
serviceName = req.getParameter("dom");
|
||||||
}
|
}
|
||||||
|
serviceName = serviceName.trim();
|
||||||
Method method = filterBase.getMethod(req.getMethod(), path);
|
Method method = filterBase.getMethod(req.getMethod(), path);
|
||||||
|
|
||||||
if (method == null) {
|
if (method == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user