PuerkitoBio / purell

tiny Go library to normalize URLs
BSD 3-Clause "New" or "Revised" License
473 stars 58 forks source link

Pull code from urlesc repo #35

Closed JohnTitor closed 2 years ago

JohnTitor commented 2 years ago

Pulled code from the urlesc repo because the repo has been archived. I can remove QueryEscape but just replacing urlesc.Escape with url.String changes the current behavior, so using urlesc for now.

Signed-off-by: Yuki Okushi jtitor@2k36.org

JohnTitor commented 2 years ago

@mna Does this look fine from a licensing standpoint?

mna commented 2 years ago

IANAL but that's the same license as Go so that should be good! Also, you should add yourself along with me (and maybe add "& Contributors", I usually do this for eventual PRs from the community, though again, not a lawyer :D ).

JohnTitor commented 2 years ago

Thanks!

Also, you should add yourself along with me (and maybe add "& Contributors", I usually do this for eventual PRs from the community

Makes sense, applied.