[pkg-go] Bug#799834: ITP: golang-github-opennota-urlesc -- Proper URL escaping as per RFC3986
Anthony Fok
foka at debian.org
Wed Sep 23 04:38:00 UTC 2015
Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka at debian.org>
* Package name : golang-github-opennota-urlesc
Version : 0.0~git20150208.0.5fa9ff0-1
Upstream Authors: The Go Authors, OpenNota
* URL : https://github.com/opennota/urlesc
* License : BSD-3-clause
Programming Lang: Go
Description : Proper URL escaping as per RFC3986 for Go
Package urlesc implements query escaping as per RFC 3986
for the Go Programming Language.
.
It contains some parts of the net/url package, modified so as to
allow some reserved characters incorrectly escaped by net/url (see
issue 5684 (https://github.com/golang/go/issues/5684)).
Reason for packaging:
Needed by "github.com/PuerkitoBio/purell", which is needed by
"github.com/spf13/hugo", i.e. Hugo the static website generator.
Note that Go1.5 has fixed its URL escaping to fully conform with RFC3986,
hence "github.com/opennota/urlesc" has finished its historic mission.
However, as @PuerkitoBio noted:
Yeah, it is now fixed in Go1.5 but it's unlikely people will all
upgrade that fast, so I'd be tempted to leave it in for a while,
at least until Go1.6, maybe even another release after that.
I think a conditional build tag could be used, I may take a look at
that when I have a moment, so I'll leave that open.
-- from https://github.com/PuerkitoBio/purell/issues/14
so I think we should do the same with "github.com/opennota/urlesc"
and keep it around until Debian migrate to Go1.6 or even Go1.7.
To be maintained within the pkg-go team.
More information about the Pkg-go-maintainers
mailing list