Issue with & in password for backup Destinations

How to reproduce.

Go to add a remote destination
https://somedomain.tld:8090/backup/backupDestinations

Error:
Cannot add destination. Error message: sh: PzR3*: command not found sh: JZHdsryCE530: command not found

Example password used.
sEEqu87&PzR3*&JZHdsryCE530

Looks like the password is being split at the “&” and its assuming its a command. Looks like this could be due the password with & is not being escaped properly on the input and splits on this due to how HTML specialchars can be treated.

Can see the split as outlined below
sEEqu87&

PzR3*

&JZHdsryCE530

Centos7

Cyberpanel 2.0.0

Looks like version 2.x has multiple inc backup bugs. I am in version 2.0.1 & having sudo export issue BACK UP WEBSITE - sudo: export: command not found - Bug Report - CyberPanel Community.

I didn’t get the point, Why do we actually need a repository password while restoring a backup?

yeah im having that same issue @h1dd3n_sn1p3r with inc backups even with the latest patch applied.

I did this and tested and same issue :confused:
mv /usr/local/CyberCP/plogical/processUtilities.py /usr/local/CyberCP/plogical/processUtilities.py-bak
wget -O /usr/local/CyberCP/plogical/processUtilities.py https://github.com/usmannasir/cyberpanel/raw/b9151a56433d78ea38ef4f1b155969e9f5421e46/plogical/processUtilities.py
link=“https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/upgrade.sh”; bash <(curl -s $link || wget -qO - $link)

Unfortunately I have the same issue when I try to restore an incremental from S3. When the password is wrong the prompt message says so. When is correct no error.message appears

Too bad as the function is very important and I cannot move my websites without a solid emergency solution

Any solution to this… Having same problem now