Skip to content

Commit

Permalink
Disable attachment twilio header check (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
levimdmiller authored Feb 20, 2021
1 parent 843679d commit b79d655
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</parent>
<groupId>ca.levimiller</groupId>
<artifactId>sms-bridge</artifactId>
<version>0.2.2</version>
<version>0.2.3</version>
<name>sms-bridge</name>
<description>Sms Bridge for Matrix</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected void configure(HttpSecurity http) throws Exception {
FilterRegistrationBean<Filter> twilioFilterRegistration() {
FilterRegistrationBean<Filter> registrationBean = new FilterRegistrationBean<>();
registrationBean.setFilter(twilioAuthenticationFilter);
registrationBean.addUrlPatterns("/attachment/*", "/twilio/*");
registrationBean.addUrlPatterns("/twilio/*");
registrationBean.setOrder(Ordered.HIGHEST_PRECEDENCE); //set precedence
return registrationBean;
}
Expand Down

0 comments on commit b79d655

Please sign in to comment.