apostrophe in .env crashes panel #155

Closed
opened 2026-02-05 17:12:22 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @ash-development on GitHub (Sep 16, 2024).

Current Behavior

i was running the installer and right after i completed it, i got a 500 error

Expected Behavior

i expected the installation to have gone through, or error. removing the apostrophe also makes the panel run

Steps to Reproduce

create a new installation and put an apostrophe in the panel name i.e. ashie's panel

Panel Version

v1.0.0-beta8

Wings Version

n/a

Games and/or Eggs Affected

n/a

Docker Image

n/a

Error Logs

https://paste.pelistuff.com/xZsa


root@ASHubuntu:/var/www/pelican# php artisan up
The environment file is invalid!
Failed to parse dotenv file. Encountered an unexpected escape sequence at ["ashie\'s panel"].

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Originally created by @ash-development on GitHub (Sep 16, 2024). ### Current Behavior i was running the installer and right after i completed it, i got a 500 error ### Expected Behavior i expected the installation to have gone through, or error. removing the apostrophe also makes the panel run ### Steps to Reproduce create a new installation and put an apostrophe in the panel name i.e. `ashie's panel` ### Panel Version v1.0.0-beta8 ### Wings Version n/a ### Games and/or Eggs Affected n/a ### Docker Image n/a ### Error Logs ```bash https://paste.pelistuff.com/xZsa root@ASHubuntu:/var/www/pelican# php artisan up The environment file is invalid! Failed to parse dotenv file. Encountered an unexpected escape sequence at ["ashie\'s panel"]. ``` ### Is there an existing issue for this? - [X] I have searched the existing issues before opening this issue. - [X] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server. - [X] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Author
Owner

@ash-development commented on GitHub (Sep 16, 2024):

also happens when setting the sender's name in the email settings, panel instantly crashes

root@ASHubuntu:/var/www/pelican# php artisan up
The environment file is invalid!
Failed to parse dotenv file. Encountered an unexpected escape sequence at ["ashie\'s panel :3"].
@ash-development commented on GitHub (Sep 16, 2024): also happens when setting the sender's name in the email settings, panel instantly crashes ```sh root@ASHubuntu:/var/www/pelican# php artisan up The environment file is invalid! Failed to parse dotenv file. Encountered an unexpected escape sequence at ["ashie\'s panel :3"]. ```
Author
Owner

@Boy132 commented on GitHub (Sep 16, 2024):

Duplicate of #562

Will be fixed in the next release.

@Boy132 commented on GitHub (Sep 16, 2024): Duplicate of #562 Will be fixed in the next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#155