Skip to content

[Bug]: HTML URL Encoded Usernames #5

@Xraydylan

Description

@Xraydylan

Version

3.9.1

What happened?

I have been using the API for a little project of mine and encountered a problem with a certain username.

In their name ["Basque`"] they use the " ` " character. It gets encoded in the URL with %60.
(Reference for URL encoding https://www.w3schools.com/tags/ref_urlencode.ASP)

The problme is I can't get this user with the API's user() method.
It doesn't throuw an error but insteads retrieves the user named "basque" without the speical character.

How can this be adressed?

How to reproduce the bug?

Call:

api.user("Basque`")

And compare stats to user front page of path "/user/Basque%60".

Relevant log output

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions