This encodes a component, not an entire URL-aware structure. Encoding a complete URL will also escape its separators.
Always verify the result in the system where you will use it. The page intentionally avoids accounts, uploads, and claims that go beyond the calculation it performs.