Skip to content

Commit

Permalink
Merge pull request #2949 from GDLMadushanka/servicePath
Browse files Browse the repository at this point in the history
Introduce strict service path validation
  • Loading branch information
GDLMadushanka authored Oct 18, 2023
2 parents 846effd + 2bdf518 commit b37b267
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions distribution/src/resources/config-tool/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"server.disable_rest": false,
"server.sandesha2_storage_manager": "inmemory",
"server.service_path": "services",
"server.strict_service_path_validation": false,
"server.services_directory": "axis2services",
"server.modules_directory": "axis2modules",
"server.send_stacktrace_details_with_faults": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
<!-- settings of your servlet container to map this context path to proper Axis2 servlets -->
<parameter name="servicePath" locked="false">{{server.service_path}}</parameter>

<!-- This property will enable strict service URL validation -->
<parameter name="strictServicePathValidation" locked="false">{{server.strict_service_path_validation}}</parameter>

<!--the directory in which .aar services are deployed inside axis2 repository-->
<parameter name="ServicesDirectory">{{server.services_directory}}</parameter>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,7 @@
<org.objenesis.version>2.1</org.objenesis.version>

<!-- Apache Axis2 -->
<axis2.wso2.version>1.6.1-wso2v91</axis2.wso2.version>
<axis2.wso2.version>1.6.1-wso2v94</axis2.wso2.version>
<!-- Please unify axis2 versions in future -->
<axis2.wso2.integration.test.version>1.6.1-wso2v64</axis2.wso2.integration.test.version>
<imp.pkg.version.axis2>[1.6.1, 1.7.0)</imp.pkg.version.axis2>
Expand Down

0 comments on commit b37b267

Please sign in to comment.