Tor bundle: Special characters not escaped in proxy password

First of all, the proxy password (if any) is stored plain-text in the torc file (\Browser\TorBrowser\Data\Tor\torrc)......

Using the pound character "#" inside the proxy password (line HTTPSProxyAuthenticator) will not save anything which is after the pound character (including the character). Some companies have a strict policy regarding passwords therefore it is required to use such characters (unfortunately I managed to get to this character as well, forced by the password expiry policy + old password policy).

This is also reproducible with version 7.5 (2018-01-23 build) of Tor bundle.

Currently I am unable to use Tor on my PC with my user+password.

Is there an easy fix? Are there some escape characters?

Trac:
Username: ro0ter

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information