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

ultimate_lib - Mishandling of _ in URL when send over network with uii_tcpsocketwrite_ascii #47

Open
michael-denzler opened this issue Jul 20, 2020 · 0 comments

Comments

@michael-denzler
Copy link

When using uii_tcpsocketwrite_ascii all _ are replaced by .

Example Code:

int port = 80;
unsigned char socketnr = 0;
char *cmd = "GET /roller/0?go=to_pos&roller_pos=40 HTTP/1.0\n\n";
char *host = "192.168.1.1";
socketnr = uii_tcpconnect(host, port);
uii_tcpsocketwrite_ascii(socketnr, cmd);
uii_tcpclose(socketnr);

Result in tcpdump is:
GET /roller/0?go=to.pos&roller.pos=40 HTTP/1.0

@michael-denzler michael-denzler changed the title Mishandling of _ in URL when send over network with uii_tcpsocketwrite_ascii ultimate_lib - Mishandling of _ in URL when send over network with uii_tcpsocketwrite_ascii Jul 20, 2020
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

No branches or pull requests

1 participant