Bugfixing .NET Program.cs #41
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When the parameters are parsed, it uses " " to split the parameters. This currently causes a file named as such: "C:\Users\Linguz\My Files\etc.txt" to be split incorrectly.
Currently, it would put "path" into paramName (as expected), but it would put "C:\Users\Linguz\My" into paramValue, which is an incomplete path. By using the Split overload, we can cap the number of splits into two: path/url (paramName) and then everything else.
Purpose
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
Try to run a file through the system with space in its path, such as "C:\Users\Linguz\My Files\etc.txt".
What to Check
Verify that the following are valid
Other Information