metafacture / metafacture-documentation

The central place for documentation about metafacture
http://metafacture.github.io/metafacture-documentation/
Apache License 2.0
3 stars 3 forks source link

New morph function "UrlEscaper" implementing RFC 3986 #7

Closed dr0i closed 7 years ago

dr0i commented 8 years ago

In lobid we use the gdata PercentEscaper ,which implements RFC 3986, instead of the java URLEncoder. With the former it's easy to escape URIs which have e.g. slashes in their URI path, see https://github.com/lobid/lodmill/issues/517. It's deliberately a new morph function (and not just a bug fix of the existing URLEncode) because it uses a foreign library, gdata, and it is agreed to keep these at a minimum. For the ease of use it would be nice, though, if it would be part of metafacture-core.

dr0i commented 7 years ago

I don't know why I opened this issue in the metafacture-documentation-repo. Recommened way to add a function is to open a pull request and let discussion take place at the pull request. Closing.