coderedcorp / coderedcorp/coderedcms
Apostrophe in sitename leads to failure
- Lenguaje dominante
- Python
- Estrellas
- 765
- Forks
- 154
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
#### 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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Reproduce the issue with `coderedcms start mysite --sitename "John's Bakery"`, then run the migration through `manage.py` and capture the failure. Inspect how the `--sitename` value is handled between these entry points. Done means the migration succeeds for apostrophes, or the command clearly warns that they are unsupported.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- django, python
- Área
- backend, cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100