summaryrefslogtreecommitdiffabout
path: root/lib/util.cc
AgeCommit message (Collapse)AuthorFilesLines
2008-01-20the whole library rewrittenMichael Krelin1-2/+69
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04fix to rfc normalizationMichael Krelin1-1/+2
It kept prepending a '/' to the trailing segment even if the segment was past [?#] Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04adjust w3c_to_time output by timezone, so that it returns local timeMichael Krelin1-5/+15
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04corrected typoMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-09Merge branch 'next' into devel/xriMichael Krelin1-3/+3
2007-12-09reworked identity resolution and service discoveryMichael Krelin1-10/+12
The discovery, which does both XRDS-based (Yadis, XRI, for XRI, using proxy) and HTML-based search, now returns results in opkele:idiscovery_t structure. It uses expat-based parser idigger_t, which itself is not exposed via any header files, but hidden in lib/discovery.cc, the discovery testing program is renamed from openid_resolve to idiscover. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-04save a couple of ticks and make a bit more senseMichael Krelin1-3/+3
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-02first cut on XRI resolverMichael Krelin1-4/+12
This commit adds openid service resolver that does discovery using XRI (proxy only), Yadis protocol and html-based discovery. It uses expat as xml parsing engine, which makes it a bit more strict about html it receives, but I think failing to discover links in *severely* broken html is better than misdetecting links, hidden in comments or such. This is highly experimental code and needs more thoughts and testing. Thanks everyone pushing me towards this development. Namely Joseph, John, Gen. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28keep keeping compilers happyMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24added URI normalization procedure to opkele::utilMichael Krelin1-0/+131
as specified in RFC3896, section 6 Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21added some missing includes for gcc 4.3Michael Krelin1-0/+1
According to Marcus Rueckert gcc 4.3 wants these. Thanks, Marcus! Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21keep compiler happy and check more error conditionsMichael Krelin1-3/+4
Thanks Marcus Rueckert for pointing this out Signed-off-by: Michael Krelin <hacker@klever.net>
2007-06-18reworked zero-padding machinery and added one more instance of zero-paddingMichael Krelin1-3/+7
2007-01-12eliminated mimetic dependency and made use of openssl base64 encoder insteadMichael Krelin1-11/+56
2005-07-20moved util::canonicalize_url to consumer classMichael Krelin1-25/+0
2005-07-19initial commit of libopkele - OpenID support libraryMichael Krelin1-0/+138