seomoz / url-cpp

C++ bindings for url parsing and sanitization
MIT License
19 stars 11 forks source link

Filter Params #19

Closed dlecocq closed 8 years ago

dlecocq commented 8 years ago

While we might want to remove some parameters by blacklist, we sometimes need more nuanced control (for instance, mozscape removes parameters and queries that look like URLs). To that end, there's a version of deparam that accepts a predicate that determines whether a name, value pair should be filtered out of a URL.

@tammybailey @lindseyreno @b4hand

b4hand commented 8 years ago

LGTM