diff --git a/readme.md b/readme.md index c892523..f84905a 100644 --- a/readme.md +++ b/readme.md @@ -36,12 +36,14 @@ there is no database, just a text file. a working [dockerfile](./Dockerfile) and [compose file](./compose.yaml) are provided. -## a note on case insensitivity +## notes + +### case insensitivity all shortlinks are case insenitive, -due to the lack of [urlencoding/decoding](#a-note-on-urlencoded-characters). +due to the lack of [urlencoding/decoding](#urlencoded-characters). -## a note on urlencoded characters +### urlencoded characters this program does not decode urlencoded strings before checking if strings match. this is a deliberate choice to keep things as simple as possible. @@ -57,6 +59,14 @@ for example, for the link the following line is in my urls. /%f0%9f%a4%ac https://en.wikipedia.org/wiki/Controversies_of_Nestl%C3%A9 ``` +### trailing slashes are ignored + +trailing slashes are ignored. + +### query parameters are ignored + +anything after a question mark character (`?`) are ignored. + ## why? all url shorteners i've come across are too complicated: