Fai attenzione alle vecchie versioni!
Queste versioni sono visualizzate solo per scopo di test e archivio. Dovresti sempre utilizzare l’ultima versione di un componente aggiuntivo.
- encodeURIComponent user input (since this is submitting information via http post), otherwise user input would be broken if it contained &'s.
- changed encoding to UTF-8; this will avoid potential compatibility problem with other Chinese add-ons.
Also, since I've had to switch several servers in the past, I now bought a domain name for this service, so I changed the httpRequest target URL. Hopefully I won't ever have to change this again.
The main motivation for a new version: before the addon would download the black list of words from my server, and then test for them on the client side. But due to increased restriction of GFW, the black list is blocked from the clients. Therefore I have moved the testing to server side, so user just needs to submit the text they're trying to post, rather than downloading the black list.