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

Uri encoding for http topic lookup #147

Closed
wants to merge 1 commit into from

Conversation

rdhabalia
Copy link
Contributor

@rdhabalia rdhabalia commented Dec 16, 2016

Motivation

As other client libraries follows uri encoding which encodes topic name different than existing java.net.URLDecoder encoding (URLDecoder encodes space as + compare to %20). This different encoding causes invalid bundle assignment at broker. We can close this PR if we decides to make change client-cpp library (or client-cpp will not have http lookup in future).

Modifications

Http lookup url encoding as URLEncoder has only reserved + or %20 separately for space.

Result

Solve invalid bundle lookup for topic with special character such as space.

@yahoocla
Copy link

CLA is valid!

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