Page 1 of 1

Don't use "&" in the username for the db

Posted: Wed Jun 02, 2021 12:27 am
by Lancairtalk
Script URL: install.php
Version of script: 3.2.2 (up to date as of writing)
Hosting company: linode
URL of phpinfo.php: https://test.lancairtalk.net/phpinfo.php
URL of session_test.php:
What terms did you try when SEARCHING for a solution: install problems

Write your message below:
I believe there is a small bug that some people like me run into. I created a cryptic username for the db and it contained a "&". My install would not progress because the user was not permitted (install routine comments). I tried the separate test.php and it worked. Once I removed the "&" from the name it installed perfectly. I suspect there is code that removes the "&" and therefore fails the installation tests.

My suggestion is to flag it at the initial Step3 results. Thanks so much for the software, it will definitely be welcome to our site.
paul
calgary

Re: Don't use "&" in the username for the db

Posted: Wed Jun 02, 2021 8:13 am
by Klemen
Thanks for reporting this.

While & is an accepted MySQL user char, it causes problems in Hesk because it gets HTML-encoded to &

We'll fix this in the future, but need to properly test it so it may take a bit.