aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_urlencode.fish
Commit message (Collapse)AuthorAge
* Rewrite __fish_urlencode to not encode valid charactersGravatar Kevin Ballard2016-02-27
| | | | | | Much better to only encode the characters that are not URL-safe. This also doesn't involve any forking, and it even handles newlines and NULs in the input.
* Fix the file URL for Terminal.appGravatar Jak Wings2016-02-16
| | | | | | | * When using a UTF-8 locale, set locale to C temporarily in order to read one byte at a time. * Use the builtin printf in a forward-compatible way. (GNU) * Improve the readability of the code.
* __fish_urlencode: rework to behave properly on BSD/OS XGravatar David Adam2014-11-20
| | | | Work on #68.
* add __fish_urlencode function which URL-escapes stdinGravatar Tim Cuthbertson2013-09-04