Merge pull request #2286 from lidaoyang/hotfix_2285

Hotfix 2285
This commit is contained in:
Peter Zhu 2020-01-10 17:48:52 +08:00 committed by GitHub
commit 8df4c0ed54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,9 @@ public class DistroFilter implements Filter {
if (StringUtils.isBlank(serviceName)) {
serviceName = req.getParameter("dom");
}
if (StringUtils.isNotBlank(serviceName)) {
serviceName = serviceName.trim();
}
Method method = filterBase.getMethod(req.getMethod(), path);
if (method == null) {