Where does the ZWS encoding actually happen? #567
-
Hello, I was looking through the source code trying to understand how the url is encoded in the unicode zero width space character aka U+200B. I got to this file (https://github.com/zws-im/zws/blob/main/apps/api/src/urls/urls.service.ts) but that file doesn't seem to mention or reference said unicode character? Please can someone help me understand this? I apologize in advance if posting this here isn't the most convenient. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The zero-width shortened string is generated in this method. It uses characters from the config defined in this file. |
Beta Was this translation helpful? Give feedback.
The zero-width shortened string is generated in this method. It uses characters from the config defined in this file.