summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix IPv6 and IPvFuture literal parsing (#150)Scallop Ye2022-10-041-16/+13
|
* Include config.h only when it has not already been defined (#149)Gaspard Petit2022-06-011-1/+1
| | | | | * Include config.h only when it has not already been defined * Rename config.h to UriConfig.h
* UriMemory.c: Add comment on need for config.hadd-config-h-commentSebastian Pipping2022-01-111-1/+1
|
* Fix implicit declaration warning on NetBSDNiclas Rosenvik2022-01-071-0/+3
| | | Fix implicit declaration warning of function reallocarray on NetBSD.
* UriNormalize.c: Fix handling of empty segments in uriPreventLeakage (#122)Sebastian Pipping2021-10-151-7/+17
|
* UriParse.c: Adjust uriFreeUriMembers* to fixed uriMakeOwner* behavior (#121)Sebastian Pipping2021-10-151-8/+10
|
* UriNormalize.c: Fix .hostText copying in uriMakeOwnerEngine (#121)Sebastian Pipping2021-10-151-16/+13
| | | | Commit is viewed best with "git show --ignore-all-space <sha1>"
* UriCommon.c: Fix RemoveDotSegmentsEx for URIs like "http://a/.." (fixes #92)Sebastian Pipping2021-02-261-9/+20
| | | | | Expected result: http://a/ Actual result: http://a
* UriCommon.c: Prepare RemoveDotSegmentsEx for re-use segmentsSebastian Pipping2021-02-261-3/+7
|
* UriCommon.c: Move code down into branches (for upcoming changes)Sebastian Pipping2021-02-261-4/+11
|
* UriCommon.c: Add more in-code comments to RemoveDotSegmentsExSebastian Pipping2021-02-261-9/+39
|
* UriCommon.c: Remove (plain) internal RemoveDotSegmentsSebastian Pipping2021-02-262-14/+4
|
* Fix BSD-3 license wording in C codeSebastian Pipping2020-03-2221-420/+420
|
* UriNormalize.c: Implement new public uriMakeOwner*Sebastian Pipping2019-08-271-0/+31
|
* UriNormalize.c: Rename internal uriMakeOwner to uriMakeOwnerEngineSebastian Pipping2019-08-271-3/+3
|
* UriQuery.c: Fix weird indentationSebastian Pipping2019-04-141-1/+1
|
* tests: Fix linking error with defaultMemoryManagerSebastian Pipping2019-01-201-1/+11
|
* UriFile.c: Address compile warning (from 64bit MSVC 2017)Sebastian Pipping2019-01-191-1/+5
|
* Add missing include guardJoergen Ibsen2019-01-181-0/+9
|
* Drop HAVE_CONFIG_H altogether, i.e. require config.hSebastian Pipping2019-01-131-3/+1
|
* UriMemory.c: Make check for HAVE_REALLOCARRAY robust enough for CMakeSebastian Pipping2019-01-111-2/+2
|
* cmake: Port checks for wprintf and reallocarraySebastian Pipping2019-01-111-0/+3
|
* config.h: Add missing include guardSebastian Pipping2019-01-111-0/+10
|
* cmake: Simplify approach to setting PACKAGE_VERSIONSebastian Pipping2019-01-111-1/+1
|
* cmake: Add minimal CMake 3 build systemSebastian Pipping2019-01-111-0/+38
|
* Waterproof errorPos <= afterLast for parse errorsSebastian Pipping2018-12-081-19/+30
|
* Fix errorPos for malformed URIs with IPvFuture addressesSebastian Pipping2018-12-081-3/+6
|
* Fix uriParse*Ex* out-of-bounds readSebastian Pipping2018-12-081-0/+5
|
* Stop wasting 1 byte in uriToStringCharsRequired* with IPv4 URIsgyh0072018-12-081-1/+1
|
* Unexpose ParseUriExMm (was not exposed in any prior public release)Sebastian Pipping2018-10-241-1/+5
|
* UriParse.c: Make ParseSingleUriEx de-NULL afterLastSebastian Pipping2018-10-241-5/+4
|
* UriParse.c: Cover and fix ParseSingleUri* functionsSebastian Pipping2018-10-241-0/+2
|
* Draft new ParseUri APISebastian Pipping2018-10-201-0/+45
|
* UriMemory.c: Cover realloc(NULL, 0) in uriTestMemoryManagerSebastian Pipping2018-10-201-6/+43
| | | | | | | | | | | From man 3 malloc: "If ptr is NULL, then the call is equivalent to malloc(size), for *all* values of size; if size is equal to zero, and ptr is not NULL, then the call is equivalent to free(ptr)." "If size is 0, then malloc() returns either NULL, or a unique pointer value that can later be successfully passed to free()."
* UriMemory.c: Implement CompleteMemoryManager for convenienceSebastian Pipping2018-10-191-0/+121
|
* UriMemory.c: Add note that errno is already set by mallocSebastian Pipping2018-10-191-0/+1
|
* Address warning about redefined _GNU_SOURCESebastian Pipping2018-10-191-1/+3
| | | | Also go with 1 for a value, consistent to config.h.
* Rely on -I<builddir> for config.h to support VPATH buildsSebastian Pipping2018-10-171-1/+1
| | | | | | | Previously, to see things fail: $ make distclean ; mkdir -p build && ( cd build && ../configure && make clean all check ) Thanks to Periklis Akritidis!
* UriMemory.c: Only include "config.h" if we have itSebastian Pipping2018-10-151-1/+3
| | | | | We may not have it on Windows, for instance. Thanks to Periklis Akritidis!
* UriMemory.c: Fix scope of <errno.h> includeSebastian Pipping2018-10-151-2/+1
| | | | | | | errno is also used outside of uriDefaultReallocarray by now so the HAVE_REALLOCARRAY guard is too strict. Thanks to Periklis Akritidis!
* UriMemory.c: Extract macro to remove address code duplicationSebastian Pipping2018-10-121-15/+14
|
* UriMemory.c: Implement tester and calloc/reallocarray emulationSebastian Pipping2018-10-121-0/+181
|
* UriMemory.c: Turn to tabs for consistency with other filesSebastian Pipping2018-10-101-29/+29
|
* Address warning "ISO C90 forbids mixing declarations and code" (#28)Sebastian Pipping2018-10-101-3/+10
| | | | .. in function NormalizeSyntaxMaskRequiredEx.
* ResetUri: Protect against NULLSebastian Pipping2018-10-101-0/+3
|
* Resolve remaining internal calls to plain FreeUriMembersSebastian Pipping2018-10-103-147/+178
| | | | | | | | | | | | | | | | | | | To make this work, a bunch of other internal functions needed extention: - ParseIPv6address2 - ParseIpFuture - ParsePctEncoded - ParsePctSubUnres - ParsePchar - ParseSegmentNz - ParseSegment - ParseQueryFrag - ParseUriTailTwo - ParseUriTail - ParseIpFutLoop - ParseIpFutStopGo - StopSyntax - StopMalloc
* UriQuery.c: Resolve remaining internal calls to plain FreeQueryListSebastian Pipping2018-10-101-2/+2
|
* tests: Fix _TESTING_ONLY_ParseIpSixSebastian Pipping2018-10-101-1/+1
|
* Add API function ParseUriExMmSebastian Pipping2018-10-101-2/+12
|
* Add API function FreeUriMembersMmSebastian Pipping2018-10-101-2/+11
|