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

Escape class / method names in URLs #9

Closed
jhrcek opened this issue Jan 2, 2018 · 1 comment
Closed

Escape class / method names in URLs #9

jhrcek opened this issue Jan 2, 2018 · 1 comment

Comments

@jhrcek
Copy link
Owner

jhrcek commented Jan 2, 2018

Test method "names" for some parametrized tests contain invalid characters. This leads to invalid SPA URLs being generated like

http://janhrcek.cz/random-failures/#/class/org.kie.server.integrationtests.drools.RollingUpdateContainerIntegrationTest/method/testCallContainerWithinConversation[2: XSTREAM KieServicesConfiguration{transport=REST, serverUrl='http://localhost:36700/kie-server-services/services/rest/server'}]

Class and method names need to be URL escaped (and then also correctly decoded).

jhrcek pushed a commit that referenced this issue Jan 2, 2018
@jhrcek
Copy link
Owner Author

jhrcek commented Jan 2, 2018

Solved by encodeUri/decodeUri of dynamically generated URI segments.

@jhrcek jhrcek closed this as completed Jan 2, 2018
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

No branches or pull requests

1 participant