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

remove trailing slashes from URLs

Đang mở
#1,152 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
Nửa ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
web-dev

Hướng nghiên cứu

The problem is the URL https://root.cern/doc/master//// , which currently serves a page. Start by reproducing it locally and finding where the site's URL paths are generated and served, since the payload names no specific file. The issue leaves open whether to remove, redirect or reject the extra slashes, so settle that choice with maintainers first. Done means the malformed URL resolves to the canonical page and a test or manual check confirms it.

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

Mô tả

I came across a page with two slashes at the end. Maybe it was from an old ROOT manual.
For now there exists a page like

https://root.cern/doc/master////

  • can those slashes be automatically forbidden/redirected/removed?

(moved from https://github.com/root-project/web/pull/213#issuecomment-3299967815)

Ngôn ngữ chính
Python
Star
53
Fork
61
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 root-project/web

Tất cả issue của root-project/web

Issue tương tự

Thêm issue về Python

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.