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

SMTP login info url issue #400

Open
ninjamonkey198206 opened this issue Oct 29, 2023 · 2 comments
Open

SMTP login info url issue #400

ninjamonkey198206 opened this issue Oct 29, 2023 · 2 comments

Comments

@ninjamonkey198206
Copy link

I saw others having issues with Watchtower, which I surprisingly did not, but I had a hell of a time setting the URL for SMTP notifications for Scrutiny, which uses Shoutrrr.

It turns out that the issue was that my username and password (in the URL) contained special chars ([email protected])(Wtf!snTthi$W0rking).

Just a heads up that using the HTML encoding equivalents resolved the issue, but I didn't find any reference to that possibility anywhere. Maybe I just missed it.

Thankfully a very helpful person suggested trying the swap and that worked.

@ninjamonkey198206
Copy link
Author

ninjamonkey198206 commented Oct 29, 2023

Derp. I figured out that the password used one of the delimiters that you use in the URL, which caused the issue.

Maybe a note in the docs about making sure passwords don't include those and something similar about usernames. To save someone else from the derp moment I had.

@piksel
Copy link
Member

piksel commented Oct 30, 2023

Yeah, I planned to add a URL builder helper to the docs that does the required escaping, but it got blocked for various reasons.

Perhaps it should also be explicitly stated that all URLs need to be properly escaped to be parsed correctly...

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

2 participants