url parameter removed when cleanUrls: true
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- backend
Direzione di ricerca
Start by reproducing the listed URLs with cleanUrls set to true, comparing requests with and without file extensions and query parameters. Trace the server's URL rewrite handling and verify that the query string is preserved; if the behavior is intentional instead, update the README to document these cases.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
when the config cleanUrls is set to true (by default)
and the requested URL is a file name with an extension
and has some parameter in it ex:
/index_2.html?foo&bar=1
the server rewrite the url to
/index_2
and remove the extension AND the url parameters
those URL on the other hand works as intended :
/index_2?foo&bar=1
/?foo&bar=1
/folderName?foo&bar=1
/folderName/?foo&bar=1
question :
is it as intended ?
If the response is "yes, you should set cleanUrls to false" then the README should be mentioning those cases
but I think the cleanUrls setting should set urls like :
/index.html?foo&bar=1
to
/?foo&bar=1
it would be more useful
- Lingua principale
- JavaScript
- Stelle
- 618
- Fork
- 117
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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 vercel/serve-handler
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
vercel/serve-handler#235 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vercel/serve-handler#231 · 2 commenti · 5 reazioni ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
vercel/serve-handler#165 · 1 commento ·
-
Allow serving virtual filesAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
vercel/serve-handler#223 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
vercel/serve-handler#210 · 1 commento · 3 reazioni ·
Tutte le issue di vercel/serve-handler
Issue simili
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
opensearch-project/security-dashboards-plugin#2543 ·
I maintainer di solito rispondono entro 1 giorno
-
[quality] refresh-radar-reports.yml runs on ubuntu-latest while every other job pins ubuntu-24.04Apertaagent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
godotengine/godot-website#1432 ·
-
Add: Mooz RetroApertachannels:add check:passed
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno