Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[bug] Preserve search and Ask URLs through login redirects

Aperta
#1,649 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

No files or tests are named. Reproduce the redirect from /search?query=authentication and an Ask/chat URL, then trace the login links and post-authentication redirect handling; done means credentials, SSO, and magic-link flows preserve the exact path and query string.

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

Descrizione

bug triage needed
Describe the bug

When an unauthenticated user is redirected to login from a search or Ask/chat page, the original URL is not consistently preserved.

The user may be redirected to / after signing in, or query parameters may be dropped because some login links preserve only the pathname.

Expected behavior: after successful authentication, the user should return to the exact original path and query string.

To reproduce
  1. Disable anonymous access.
  2. Sign out or open an incognito window.
  3. Open a URL such as /search?query=authentication.
  4. Complete login using credentials, SSO, or a magic link.
  5. Observe the destination after authentication.

Actual result: the user lands at /, or the original search/chat query parameters are missing.

Expected result: the user returns to /search?query=authentication or the corresponding Ask/chat URL unchanged.

Sourcebot deployment information

Sourcebot version v5.1.10

Additional information

No response

Lingua principale
TypeScript
Stelle
3.9k
Fork
374
Merge medio
21h 18m
PR unite (30g)
39

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sourcebot-dev/sourcebot

Tutte le issue di sourcebot-dev/sourcebot

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.