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

Backtick in mailer passwd #13126

Closed
2 of 7 tasks
openscript opened this issue Oct 13, 2020 · 4 comments
Closed
2 of 7 tasks

Backtick in mailer passwd #13126

openscript opened this issue Oct 13, 2020 · 4 comments
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.

Comments

@openscript
Copy link
Contributor

  • Gitea version (or commit ref): 1.12.4
  • Git version: not relevant
  • Operating system: not relevant
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

We use a email password with back ticks inside. According to https://docs.gitea.io/en-us/config-cheat-sheet/, for complex mailer passwd back ticks should be used. How to deal with back ticks within the password?

@6543 6543 added the type/question Issue needs no code to be fixed, only a description on how to fix it yourself. label Oct 13, 2020
@zeripath
Copy link
Contributor

try putting it in """

@openscript
Copy link
Contributor Author

try putting it in """

Like

passwd = """nasd´$asd92mc"asdkasd"""

?

@zeripath
Copy link
Contributor

yes

@openscript
Copy link
Contributor Author

openscript commented Oct 15, 2020

Great that works! I'll add this to the documentation. Thank you!

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.
Projects
None yet
Development

No branches or pull requests

3 participants