assemblee-virtuelle / assemblee-virtuelle/semapps

Encoder proprement le Slug passé dans le header

Open
#990 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
103
Forks
14
Avg merge
1m
Merged PRs (30d)
2

Description

Actuellement si on utilise quelque chose comme `Gouvernance d’Internet` (avec un caractère `’` qui n'est pas `'`), on obtient ce message d'erreur et la création de la ressource échoue complétement

`Failed to execute 'set' on 'Headers': String contains non ISO-8859-1 code point.`

Il faudrait s'assurer que la string soit compatible ISO-8859-1 et la convertir si besoin.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing resource creation to the point where the Slug is placed in a request header. Reproduce the failure with `Gouvernance d’Internet`, then verify that creation succeeds when the header value contains this character and that ordinary Slug values remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.