aws / aws/amazon-s3-encryption-client-java

Range queries for undefined start or end bytes fails due to regex

Aperta
#182 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
34
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Problem:

Range queries without a start or end byte range fail due to https://github.com/aws/amazon-s3-encryption-client-java/blob/main/src/main/java/software/amazon/encryption/s3/legacy/internal/RangedGetUtils.java#L21.

### Solution:

Adjust the regex to allow for start or end byte range to not exist.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reading src/main/java/software/amazon/encryption/s3/legacy/internal/RangedGetUtils.java at line 21 and trace how range queries are parsed. Reproduce requests with an undefined start or end byte, then verify both forms are accepted without breaking fully specified ranges.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, java
Ambito
api, backend, cloud
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.