c3ab5c5716
rawurlencode($username) was called on line 38 (encoding the username), then rawurlencode($matrixId) was called on line 39 encoding the already- encoded string — causing %20 to become %2520 for usernames with special characters. Fixed by building $matrixId with the plain username and only encoding the full Matrix ID once in the URL path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>