AOSSIE-Org / AOSSIE-Org/EduAid
[BUG]: Unsafe string handling causing runtime errors
Offen
bug
- Vorherrschende Sprache
- JavaScript
- Sterne
- 171
- Forks
- 425
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### Bug Description
### Description
Several parts of the codebase assume strings are non-empty and not None.
### Problems
- Direct indexing like `str[0]` without length checks
- Splitting strings without validation
- Calling string methods on None values
### Impact
- IndexError
- AttributeError
- TypeError
### Affected Files
- backend/Generator/server.py
### Code of Conduct
- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.