Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[bug] Preserve search and Ask URLs through login redirects

Đang mở
#1,649 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
authentication, search

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
3.9k
Fork
374
Merge trung bình
21 giờ 18 phút
Pull request đã merge (30 ngày)
39

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sourcebot-dev/sourcebot

Tất cả issue của sourcebot-dev/sourcebot

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.