mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-26 08:19:55 +03:00
Document the assumption that all URLs passed into urldb are already normalised. Violate this precondition at your peril.
svn path=/trunk/netsurf/; revision=6371
This commit is contained in:
parent
961be4593b
commit
19321017a9
@ -79,6 +79,10 @@
|
||||
* with similar performance characteristics, but with a significantly
|
||||
* simpler implementation. Entries in this tree comprise pointers to the
|
||||
* leaf nodes of the host tree described above.
|
||||
*
|
||||
* REALLY IMPORTANT NOTE: urldb expects all URLs to be normalised. Use of
|
||||
* non-normalised URLs with urldb will result in undefined behaviour and
|
||||
* potential crashes.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE /* For strndup */
|
||||
|
Loading…
Reference in New Issue
Block a user