Panel settings allow invalid characters allowing the panel to become completely inaccessible #148

Closed
opened 2026-02-05 17:11:46 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Tctcl on GitHub (Aug 24, 2024).

Current Behavior

The panel accepts all input and stores it in the .env file causing the panel to return status code 500 on every subsequent request.

Expected Behavior

The panel refuses the invalid input or properly escapes it.

Steps to Reproduce

  • Open Panel admin settings
  • Set a setting to an invalid String e.g. "Tctcl's Pelican Panel"
  • Try to access the site

Panel Version

v1.0.0-beta8

Wings Version

--

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

php log:


The environment file is invalid!
Failed to parse dotenv file. Encountered an unexpected escape sequence at ["Tctcl\'s Pelican 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 @Tctcl on GitHub (Aug 24, 2024). ### Current Behavior The panel accepts all input and stores it in the .env file causing the panel to return status code 500 on every subsequent request. ### Expected Behavior The panel refuses the invalid input or properly escapes it. ### Steps to Reproduce - Open Panel admin settings - Set a setting to an invalid String e.g. "Tctcl's Pelican Panel" - Try to access the site ### Panel Version v1.0.0-beta8 ### Wings Version -- ### Games and/or Eggs Affected _No response_ ### Docker Image _No response_ ### Error Logs ```bash php log: The environment file is invalid! Failed to parse dotenv file. Encountered an unexpected escape sequence at ["Tctcl\'s Pelican 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#148