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

Changes spaces to hyphens in space included urls and Sets validation errors to empty array when url is valid #517

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

Kirishikesan
Copy link
Contributor

Purpose

Issue #2274: Throwing the 500 response when refreshing the API definition page and Business info section in the Publisher - APIM 4.2.0
Issue #2273: Previous validation errors are showing for valid API definition - APIM 4.2.0 publisher

Overview

Issue #2274:
When refreshing pages with space included urls, urlmalformed error is thrown as below.

ERROR - AuthenticationValve Error while normalizing the request URI to process the authentication: 
java.net.URISyntaxException: Illegal character in path at index 61: /publisher/apis/950a0b1a-91b4-404d-8f8b-bbdd144bb1e8/business info
	at java.net.URI$Parser.fail(URI.java:2913) ~[?:?]
	at java.net.URI$Parser.checkChars(URI.java:3084) ~[?:?]
	at java.net.URI$Parser.parseHierarchical(URI.java:3166) ~[?:?]
	at java.net.URI$Parser.parse(URI.java:3125) ~[?:?]
	at java.net.URI.<init>(URI.java:600) ~[?:?]
	at org.wso2.carbon.identity.auth.service.util.AuthConfigurationUtil.getNormalizedRequestURI(AuthConfigurationUtil.java:346) ~[org.wso2.carbon.identity.auth.service_1.7.1.2.jar:?]

Issue #2273: Swagger validation errors which was thrown previously was seen even after adding a correct swagger URL.

Resolves

wso2/api-manager#2274
wso2/api-manager#2273

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.

2 participants