28 Commits

Author SHA1 Message Date
495ab0cabd Cater for hashbang url 2016-12-22 12:42:56 +01:00
ec30353afe Remove stripPound variable (default to always true now). Don't store url fragments. Fix relative url resolution for url fragments (we drop them completely now). 2016-12-22 12:27:32 +01:00
d57c860af9 Add quotes when printing string for UrlParser::print() 2016-12-22 12:27:32 +01:00
5ae21e0296 Fix relative url resolution except url fragments (#) 2016-12-22 12:27:32 +01:00
0f3008da47 Add some url normalization(scheme & domain case normalization) into UrlParser 2016-12-22 12:27:32 +01:00
0cc2401e40 Store location of port in UrlParser 2016-12-22 12:27:32 +01:00
b794dfa65e Parse url even when there is no path in url 2016-12-22 12:27:32 +01:00
db13f1e0b8 Code style changes 2016-12-22 12:27:32 +01:00
eac5b8d06e Code style changes 2016-12-22 12:27:32 +01:00
c6f0b070d9 init class members in UrlParser 2016-09-30 14:27:21 +02:00
2b84ca4c0b Remove use of ?: which is a gcc extension 2016-09-20 13:41:23 +02:00
4d01557b00 Fix bug when handling extra long url (url longer than MAX_URL_LEN) 2016-07-05 12:19:33 +02:00
51b74f69ff Add UrlParserTest for scheme & relative scheme 2016-06-29 11:36:34 +02:00
5d24124a78 Fix UrlParser logic to be more similar to Url 2016-05-31 12:04:33 +02:00
4aff4e01ac Fix compilation warning 2016-05-31 11:26:00 +02:00
364faee241 Fix core dump when ip address is used in url 2016-05-25 17:55:29 +02:00
c08485008a Add test for url with user info 2016-05-25 16:14:06 +02:00
afa2ce6208 Extend UrlParser to detect domain 2016-05-24 17:06:15 +02:00
b72b451421 Use auto & std::next 2016-05-17 16:31:48 +02:00
e0ae7c8824 Rename UrlParser::m_domain to UrlParser::m_hostName 2016-05-17 16:31:48 +02:00
51509f3a1e Unused variable initialization value. Merge statement 2016-05-17 16:31:48 +02:00
d77f7c69ee Add a more restrictive check for who query parameter 2016-05-10 16:15:31 +02:00
2cb2f4e877 Normalize url. Don't encode character which are not suppose to be encoded. 2016-05-10 16:15:31 +02:00
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
b24efd2b98 Add more unit test & cater for more session id types 2016-05-10 16:15:31 +02:00
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
d0be4f0e1c Fix compilation warnings on debug messages 2016-05-10 16:15:31 +02:00
52ec5e755e Initial commit of UrlParser implementation.
Separated TitleRec version from Titledb.h
2016-05-10 16:15:31 +02:00