Curl: block curl from processing gab URLs

Created on 24 Jun 2019  路  4Comments  路  Source: curl/curl

not a bug report but curl should return an error if an attempt to process gab URLs is found.

Most helpful comment

curl itself has no host or domain filter and will not offer one. You can easily filter out anything you like in your application before you ask curl to use a URL. That's not a task for curl.

All 4 comments

What is a "gab URL" and why should curl return an error on such a URL?

a "gab URL" is any URL from one of the nazi domains related to what's known as "gab". curl should disallow nazis. this is especially useful with PHP on one of those cheap PHP hosts where you can't modify the curl.

curl itself has no host or domain filter and will not offer one. You can easily filter out anything you like in your application before you ask curl to use a URL. That's not a task for curl.

staysalty

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HRK44 picture HRK44  路  5Comments

alliquot picture alliquot  路  6Comments

xquery picture xquery  路  5Comments

jidanni picture jidanni  路  3Comments

MarcelRaad picture MarcelRaad  路  5Comments