Commit Graph

11 Commits

Author SHA1 Message Date
Ai Lin Chia
0ff7b161ed Make sure we strip session id even if query parameter is separated by '?' 2018-04-12 15:24:55 +02:00
Ai Lin Chia
45a8885b98 Make sure we check full path value when validating. Run UrlParserTest through multiple version of titlerec to make sure we don't break anything through the versions 2017-09-08 12:01:21 +02:00
Ai Lin Chia
cc979dbbc4 Add more url parameters to clean. (mostly on sid, refererurl, affliate ids) 2017-09-06 10:45:40 +02:00
Ai Lin Chia
a61cf61656 Add matchPrefix & matchSuffix to MatchCriteria 2017-08-31 14:22:33 +02:00
Ai Lin Chia
5de3cd8bfe Add print functions for ease of debugging 2016-05-27 12:22:37 +02:00
Ai Lin Chia
2cb2f4e877 Normalize url. Don't encode character which are not suppose to be encoded. 2016-05-10 16:15:31 +02:00
Ai Lin Chia
d09ed9f7f2 Rename MANDATORY_HEX to MANDATORY_ALPHA_HEX 2016-05-10 16:15:31 +02:00
Ai Lin Chia
bf57e59590 Use queries map when we're not matching partial/case sensitive.
Remove more tracking params.
Combine strip session id  & tracking param into one setting. Doesn't make sense to have 2 separate setting.
2016-05-10 16:15:31 +02:00
Ai Lin Chia
b24efd2b98 Add more unit test & cater for more session id types 2016-05-10 16:15:31 +02:00
Ai Lin Chia
940b74f2e2 Split out path & path param since we can have a much more relaxed criteria for path param. 2016-05-10 16:15:31 +02:00
Ai Lin Chia
52ec5e755e Initial commit of UrlParser implementation.
Separated TitleRec version from Titledb.h
2016-05-10 16:15:31 +02:00