Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On setup: Internal Server Error if PORTAL_NAME is set to something with a single quote in it #1127

Open
zekecato opened this issue Nov 30, 2024 · 0 comments
Assignees

Comments

@zekecato
Copy link

Describe the issue
If I set up the server with a portal name set to something with a single quotation mark, I get an internal server error. Looking at cms/local_settings.py reveals that the portal name is surrounded by single quotes. So the single quote in the name breaks the setting.

surrounding the portal name with double quotes fixes the issue.

To Reproduce
Steps to reproduce the issue:

  1. Do a fresh install of MediaCMS
  2. when prompted for Portal Name, give a name with a single quotation mark in it
  3. get internal server error when visiting site after setup complete

Expected behavior
Visiting site produces no error after setup, and Portal Name is set in a way that handles internal quotation marks.

Environment (please complete the following information):

  • OS: Ubuntu Linux
  • Installation method: single server install
  • Browser: Chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants