Skip to content

java.net.URISyntaxException: Illegal character in path #587 #702

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

Conversation

Vassiliy-Kudryashov
Copy link
Member

Description

We got exception when path to JAR contains space, so we nee dto encode this symbol to %20

Fixes #587

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual Scenario

Under macOS standard path fragment "Application Support" causes the issue
Probably standard path fragment "Prohram Files" can cause it either under Windows.
As for debugging one can put project to the directory with spaces like "My projects" to reproduce the issue.

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • No new warnings

@Vassiliy-Kudryashov Vassiliy-Kudryashov linked an issue Aug 10, 2022 that may be closed by this pull request
@Vassiliy-Kudryashov Vassiliy-Kudryashov enabled auto-merge (squash) August 10, 2022 11:16
Copy link
Collaborator

@dtim dtim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@Vassiliy-Kudryashov Vassiliy-Kudryashov merged commit 71bbb07 into main Aug 10, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov deleted the Vassiliy-Kudryashov/587-javaneturisyntaxexception-illegal-character-in-path-at-index-41-fileintellijidea20213pluginsutbot-intellijlibutbot-framework-20227jar branch August 10, 2022 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

java.net.URISyntaxException: Illegal character in path
2 participants