coderedcorp / coderedcorp/coderedcms

Apostrophe in sitename leads to failure

Offen
#669 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Type: Bug
Vorherrschende Sprache
Python
Sterne
765
Forks
154
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

#### Describe the bug
When creating a new site, if there's an apostrophe added in the --sitename argument, when you go to migrate it fails.

#### Steps to reproduce
Steps to reproduce the behavior:
1. Follow setup instructions (I'm using Debian OS)
2. When you get to the `coderedcms start mysite --sitename` part, add an apostrophe in the site name such as: `--sitename "John's Bakery"`
3. Go to migrate using manage.py
4. See error

#### Expected behavior
Either a warning to say you can't use `'` or escape the character / sanitize the input.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.