coderedcorp / coderedcorp/coderedcms

Apostrophe in sitename leads to failure

Aperta
#669 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Type: Bug
Lingua principale
Python
Stelle
765
Fork
154
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

#### 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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.