servo / servo/rust-url

Add a function for URL normalization?

Open
#779 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.6k
Forks
406
PR merge metrics
No merged PRs in 30d

Description

I am writing a software that collects lots of URLs from within manually written documents, and needs to find duplicates.
For that reason, I need URL normalization as it is described e.g. here:
https://en.wikipedia.org/wiki/URL_normalization#Normalizations_that_preserve_semantics

The question is, if it would make sense to include such functionality in this crate as a function/functions on Url.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked URL normalization reference and inspecting the crate's existing Url API. The issue does not name files or tests; the work would need an agreed scope and semantics for normalization, followed by an API design and verification of the chosen behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.