Skip to content

Fixed GHContent to allow spaces in path#625

Merged
bitwiseman merged 1 commit into
hub4j:masterfrom
bitwiseman:bug/content-encode
Nov 26, 2019
Merged

Fixed GHContent to allow spaces in path#625
bitwiseman merged 1 commit into
hub4j:masterfrom
bitwiseman:bug/content-encode

Conversation

@bitwiseman

Copy link
Copy Markdown
Member

Description

URI path encoding whack-a-mole. This fix should cover a significant number of cases.

Also, fixed to NOT do URLEncode for URI path. The encoding is different between path and query.

Fixes #624

Before submitting a PR:

We love getting PRs, but we hate asking people for the same basic changes every time.

  • Push your changes to a branch other than master. Create your PR from that branch.
  • Add JavaDocs and other comments
  • Write tests that run and pass in CI. See CONTRIBUTING.md for details on how to capture snapshot data.
  • Run mvn install site locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.

URI path encoding whack-a-mole.  This fix should cover a significant number of cases.

Also, fixed to NOT do URLEncode for URI path.  The encoding is different between path and query.

Fixes hub4j#624
@bitwiseman bitwiseman merged commit 5910988 into hub4j:master Nov 26, 2019
@bitwiseman bitwiseman deleted the bug/content-encode branch November 26, 2019 02:13
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.

GHContent - Spaces in Path causes Malformed request

1 participant