Bucket methods interpolate reserved characters as URL syntax
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 73/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- nodejs, typescript
- Ambito
- api
Direzione di ricerca
Start by locating the bucket-specific read, write, delete, count, and heartbeat methods that build URL paths in the TypeScript client. Check how the Python aw-server handles encoded bucket paths, then add regression coverage for ordinary, reserved-character, and Unicode IDs alongside supported-server controls. Done means each bucket segment is encoded once, route separators and query parameters remain intact, and the tests pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Reproduction\nOn current master c086f63, a synthetic loopback Python aw-server accepts bucket ID `c3e4#fragment`. A direct GET to its encoded events path returns 200 and one event; `AWClient.getEvents('c3e4#fragment')` constructs an unencoded URL and fails with 404 because the fragment truncates the route.\n\nExisting bucket-specific read/write/delete/count/heartbeat methods concatenate the ID into URL paths. Encode each bucket segment once, keeping route separators and query parameters unchanged. Regression coverage should include ordinary, hash, question-mark, literal-percent and Unicode IDs plus supported-server controls. No slash-ID support or naming-policy change is proposed.\n\nTracked locally as tasks/aw-client-js-encode-bucket-path-segments.md; source completion requires merged-master replay, not merely an open PR.
- Lingua principale
- TypeScript
- Stelle
- 40
- Fork
- 20
- Merge medio
- 10g 20h
- PR unite (30g)
- 7
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ActivityWatch/aw-client-js
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
-
Add support for pre-merge heartbeatsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Tutte le issue di ActivityWatch/aw-client-js
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 66/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
prometheus/docs#3198 ·
I maintainer di solito rispondono entro 3 giorni
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier captureForse già presa @jianyx1 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
volcengine/OpenViking#8354 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ARTPARK-SAHAI-ORG/calibrate-frontend#842 ·
I maintainer di solito rispondono entro 1 giorno
-
Chat: Copying a selection that includes the end of a message also copies the actions menu labelsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
suitenumerique/hub#176 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno