This is an automated email from the ASF dual-hosted git repository.

myrle pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract-cn-group.git

commit c8f9390c7c34def09776a6765310d8188e7891a2
Author: mgeiss <mge...@mifos.org>
AuthorDate: Wed Apr 26 18:19:48 2017 +0200

    added path configurer to allow dots in url
---
 .../src/main/java/io/mifos/group/service/GroupConfiguration.java | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git 
a/service/src/main/java/io/mifos/group/service/GroupConfiguration.java 
b/service/src/main/java/io/mifos/group/service/GroupConfiguration.java
index 0ecceeb..e7d2300 100644
--- a/service/src/main/java/io/mifos/group/service/GroupConfiguration.java
+++ b/service/src/main/java/io/mifos/group/service/GroupConfiguration.java
@@ -30,6 +30,8 @@ import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.ComponentScan;
 import org.springframework.context.annotation.Configuration;
 import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
+import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
+import 
org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
 
 @SuppressWarnings("WeakerAccess")
 @Configuration
@@ -51,7 +53,7 @@ import 
org.springframework.data.jpa.repository.config.EnableJpaRepositories;
 @EnableJpaRepositories({
     "io.mifos.group.service.internal.repository"
 })
-public class GroupConfiguration {
+public class GroupConfiguration extends WebMvcConfigurerAdapter {
 
   public GroupConfiguration() {
     super();
@@ -61,4 +63,9 @@ public class GroupConfiguration {
   public Logger logger() {
     return LoggerFactory.getLogger(ServiceConstants.LOGGER_NAME);
   }
+
+  @Override
+  public void configurePathMatch(final PathMatchConfigurer configurer) {
+    configurer.setUseSuffixPatternMatch(Boolean.FALSE);
+  }
 }

-- 
To stop receiving notification emails like this one, please contact
my...@apache.org.

Reply via email to