hackmdio / hackmdio/hackmd-io-issues
Disqus fails to load when the shortname includes a hyphen
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 40
- Forks
- 9
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### Is this a hackmd.io issue?
- [x] Yes, the bug happens on https://hackmd.io
### What's the problem
#### Current behaviour
If your disqus shortname includes a hyphen (`-`), the comments will fail to load, yielding instead:
> We were unable to load Disqus. If you are a moderator please see our troubleshooting guide
### Provide steps to reproduce:
1. Create a disqus site with a shortname that has a hyphen, e.g.: "hackmd-disqus"
2. Try to add it to a note via `disqus: hackmd-disqus`
3. Load the note preview
4. See error
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne damit, das Problem in einer Notizvorschau zu reproduzieren, wobei der Disqus shortname "hackmd-disqus" als `disqus: hackmd-disqus` konfiguriert ist. Verfolge die Disqus-Integration von der Notizkonfiguration bis zum Laden der Kommentare und überprüfe anschließend, dass shortnames mit Bindestrichen erfolgreich geladen werden, ohne dass der Fehlerbehebungsfehler auftritt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- web-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100