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

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Lancairtalk
Posts: 1
Joined: Tue Jun 01, 2021 10:39 pm

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

Post 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
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

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

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply