Upset millennial.

Code quality matters.

  • 9 Posts
  • 477 Comments
Joined 3 months ago
cake
Cake day: August 3rd, 2026

help-circle

















  • 2.2. Reserved Characters

    URIs include components and subcomponents that are delimited by characters in the “reserved” set. These characters are called “reserved" because they may (or may not) be defined as delimiters by the generic syntax, by each scheme-specific syntax, or by the implementation-specific syntax of a URI’s dereferencing algorithm. If data for a URI component would conflict with a reserved character’s purpose as a delimiter, then the conflicting data must be percent-encoded before the URI is formed.



  • Read the RFC dude, the @ symbol must be encoded lol. It sucks ass but it must be done. Last time I made a filter for special chars it was easiest to do a find on the index of the special chars, remove the char from the string array by index, and then inject the encoded value back into the array by index.

    Cyberchef is a great resource for testing what right should fuzzily look like, you can also strip logic from them need be on capturing.