Qualify tracker links

#1

Hey, I wondered if it is possible to qualify blocked links!?
So I am clicking on a link (the following link is just an example). eg:
https://duckduckgo.com/y.js?u3=https%3A%2F%2Fr.search.yahoo.com%2Fcbclk%2FdWU9QThBNTlEQzRBMTkxNDVCQyZ1dD0xNTU1NjA4NDI3MTU2JnVvPTc1OTM1MTMwMjUwNDY3Jmx0PTImZXM9eE0wOEIzQUdQU19S%2FRV%3D2%2FRE%3D1555637227%2FRO%3D10%2FRU%3Dhttps%253a%252f%252fwww.bing.com%252faclick%253fld%253de3QjzQBauvT7HgnPD95euo2jVUCUwqsXF0sxrUodtz_llAv_MxCqeOLSjyL_g0wfcw0OOAGUTp50Gz_3ZfImEdjUCuoTiPpb3vqlOX_TyAaJjUZ3SI3EFYmUCj45JzRtvGlAfGUwGAA_ktB6zmeBIF3LmvYvI%2526u%253daHR0cHMlM2ElMmYlMmZ3d3cudmVyZ2xlaWNoLm9yZyUyZnElMmYlM2ZxJTNkc2xhc2glMjZtc2Nsa2lkJTNkJTdibXNjbGtpZCU3ZA%2526rlid%253dbec3829aaefc13c80a70de221d97c95d%2FRK%3D2%2FRS%3Dv7fQHGumHBWnHDDM.0_yS.9TEUc%2D&ad_provider=yhs&vqd=3-151149676722444953964351790685398984811-187748590458331241790723807322508403201
My browser can’t connect. obviously. But I would like to delete the whole tracker-code in front of the last (in mails mostly wanted) URL.
so alle the %3A%2F%2F are qualified to ://
Is that possible !?

#2

Not with Pi-Hole. In the URL you linked, there are three parts:

  1. The protocol - https
  2. The domain - duckduckgo.com
  3. The path - everything following the above.

Pi-Hole only handles the request from the browser for duckduckgo.com, and returns the matching IP address. Then the browser loads that IP with the appropriate protocol and the path appended to it. P-Hole sees none of that, it only sees the request for the IP for the domain.

Why can your browser not connect to that URL? Do you have the domain duckduckgo.com blocked in Pi-Hole?

#3

Thanks for clarifying. this URL was handled by my browser, non the less, I just wanted to give an example for these “%3A%2F%2F” stuff. But handling IP traffic does not involve this, I did understand. Check.

Do You have an idea of an extension for any brother to qualify URLs by changing this - I am gussying - UTF-8 handles?

#4

It’s actually URL percent encoding. See https://en.wikipedia.org/wiki/Percent-encoding for some more information. Just about any and every browswer will automatically translate percent encoded to ascii.