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

'\' character deleted in FTP password #3655

Closed
Tiller opened this issue Jan 21, 2023 · 2 comments
Closed

'\' character deleted in FTP password #3655

Tiller opened this issue Jan 21, 2023 · 2 comments

Comments

@Tiller
Copy link

Tiller commented Jan 21, 2023

Describe Your Environment

  • Version of ZoneMinder : 1.34.23
  • How you installed ZoneMinder : debian repository
  • Full name and version of OS : debian 11
  • Browser name and version : lastest firefox

Describe the bug
My FTP password contains the character \. In configuration > upload, if I enter my password as-is, it fails to upload any files. And when I come back to the page, the \ disappeared.
The solution is to put \\ instead of \, however the next time you load the page, a single \ will be displayed and saving the page will lead to an incorrect password.

To Reproduce
Steps to reproduce the behavior:

  1. Go to options >upload
  2. Set a FTP password with \
  3. Save and reload the page
  4. The \ got deleted and the actual password used for upload won't contain the character
@welcome
Copy link

welcome bot commented Jan 21, 2023

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!

connortechnology pushed a commit that referenced this issue Jan 24, 2023
…have not been escaped, so stripslashes is not appropriate. Fixes #3655
@connortechnology
Copy link
Member

Please note that 1.34 has long been unsupported. It is unlikely that this fix will make it into official debian packages. You may want to either apply the patch manually yourself or update to a newer version of zoneminder. We provide packages at https://zmrepo.zoneminder.com

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