You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Git backup fails if using HTTPS connection with basic auth if the username or password contains special characters, including #, /, & and others which are reserved in URLs.
To Reproduce
In Admin -> Storage -> Git, add a repo (e.g. on Github) and use HTTP basic auth (not SSH). Use a password on the git remote containing a special character.
The message Could not resolve host: user appears because the URL is parsed incorrectly by git due to the presence of one or more special characters in the password.
Host Info (please complete the following information):
Environment: Docker
Wiki.js version: 2.2.51
Database engine: Postgres 12
Additional context
Can be fixed by replacing special characters in the username and password, as described in this blog post.
The text was updated successfully, but these errors were encountered:
Describe the bug
Git backup fails if using HTTPS connection with basic auth if the username or password contains special characters, including
#
,/
,&
and others which are reserved in URLs.To Reproduce
In Admin -> Storage -> Git, add a repo (e.g. on Github) and use HTTP basic auth (not SSH). Use a password on the git remote containing a special character.
Expected behavior
Git backup completes successfully.
Docker Logs
URL replaced with representative example.
The message
Could not resolve host: user
appears because the URL is parsed incorrectly by git due to the presence of one or more special characters in the password.Host Info (please complete the following information):
Additional context
Can be fixed by replacing special characters in the username and password, as described in this blog post.
The text was updated successfully, but these errors were encountered: