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

Fix charset problem and leading and trailing blank space problem #2

Merged
merged 1 commit into from
Sep 1, 2015

Conversation

yogpstop
Copy link
Contributor

First, when we send text packet, the packet must contain UTF8 string. (WebSocketConnection.java fixes)
Second, when recv text packet contains blank space at leading or trailing, it's removed at WSMessage. So I fixed it.

@mondain
Copy link
Member

mondain commented Aug 27, 2015

The change to WSMessage.java is not how we want to do the conversion; submit a pull with the first change and I'll accept it.

@mondain mondain self-assigned this Aug 27, 2015
@yogpstop
Copy link
Contributor Author

OK. I updated this pull request.
But problem is not solved, so I'll create new pull request with better patch.
Because if I send text message " test " from browser to red5, I got the text "test" in red5.

mondain added a commit that referenced this pull request Sep 1, 2015
Fix charset problem and leading and trailing blank space problem
@mondain mondain merged commit d391d58 into Red5:master Sep 1, 2015
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