Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds strictServicePathValidation config for axis2 #13330

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

Kirishikesan
Copy link
Contributor

Overview

Resolves wso2/api-manager#2313

When "/services/Version" is added after the actual API Invocation URL, API Manager's Version is getting displayed.

Ex:
Actual API Invocation URL: https://localhost:8243/pizzashack/1.0.0/menu

Executing https://localhost:8243/pizzashack/1.0.0/menu/services/Version results in the following response.

<ns:getVersionResponse xmlns:ns="http://version.services.core.carbon.wso2.org">
WSO2 API Manager-
</ns:getVersionResponse>

The expectation is to return an HTTP 404 error if the endpoint does not have the "/services/Version" path available.

Related Fix

wso2/wso2-axis2#282

@Kirishikesan Kirishikesan merged commit e82d9f9 into wso2:master Jan 23, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API invocation with "/services/Version" appended to the context, returning API Manager's Version
2 participants