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

Broken URL in oob message. #132

Closed
mdosch opened this issue Sep 12, 2021 · 3 comments
Closed

Broken URL in oob message. #132

mdosch opened this issue Sep 12, 2021 · 3 comments

Comments

@mdosch
Copy link
Collaborator

mdosch commented Sep 12, 2021

When sending a file via http-upload you usually send the URL in oob and in the message body. But it seems the Ooburl is getting altered (compare oob URL to URL in body):

<body>https://upload.example.org:5281/upload/PBOIXpKDzGecqJzo/&amp;%25%3c%3e.txt</body><x xmlns='jabber:x:oob'><url>https://upload.example.org:5281/upload/PBOIXpKDzGecqJzo/&amp;%3c%!e(MISSING).txt</url></x>
@mdosch
Copy link
Collaborator Author

mdosch commented Sep 12, 2021

Might be a similar issue like FluuxIO/go-xmpp#113

@Zash
Copy link

Zash commented Sep 12, 2021

Most likely here:

https://github.com/mattn/go-xmpp/blob/3871461df959effa2649e18669dc32a5221a7efa/xmpp.go#L826-L837

@mdosch
Copy link
Collaborator Author

mdosch commented Feb 25, 2024

I tested with some strings that made problems before (e.g. https://da.wikipedia.org/wiki/J%C3%A6vnd%C3%B8gn) and could not reproduce the issue anymore.

@mdosch mdosch closed this as completed Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants