Skip to content
  • About’n’Search
  • Datenschutzerklärung // Privacy Declaration

bytes and bones

stuff that matters

Tag: url

Written by #xxaxxelxxMarch 23, 2023

encode url with perl

or

Written by #xxaxxelxxNovember 13, 2018November 13, 2018

BASH | URLENCODE

For each character in string do # IN=”\\”;printf -v OUT ‘%%%02x’ “‘$IN”; echo $OUT or # echo “this & that” | perl -MURI::Escape -ne ‘chomp;print uri_escape($_),”\n”‘

Written by #xxaxxelxxMarch 23, 2017March 23, 2017

Decode URL encoded strings on OpenBSD

alias urldecode=’$PYTHON -c “import urllib, sys; print urllib.unquote(sys.argv[1] if len(sys.argv) > 1 else sys.stdin.read()[0:-1])”‘

Written by #xxaxxelxxJanuary 9, 2015

OTRS | ‘New Ticket’ notification email contains broken link

go to admin->nofications replace AgentTicketZoom;TicketID= with AgentTicketZoom&TicketID=

Written by #xxaxxelxxNovember 14, 2014

URL ENCODING WITH CURL

curl –get –user -o /dev/null –user “user:password” –data-urlencode “argument_a=la la la la la” –data-url-encode “argument_b=bla bla bla bla” “http://my.site.com/execute.pl”

Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • bytes and bones
    • Join 95 other followers
    • Already have a WordPress.com account? Log in now.
    • bytes and bones
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar