{"id":9362139,"date":"2017-07-29T03:46:59","date_gmt":"2017-07-29T03:46:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/feature-request-565\/"},"modified":"2017-07-29T03:46:59","modified_gmt":"2017-07-29T03:46:59","slug":"feature-request-565","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/feature-request-565\/","title":{"rendered":"Feature Request"},"content":{"rendered":"<p>First off thanks for this very useful plugin, I have been using the following code modification to public.php in your encode\/decode functions to prevent automatic base64 link decoding I was hoping that you could incorporate this in to your options panel as I think it is a worthy addition to your code:<\/p>\n<pre><code>$salt =&#039;00000000000SECRET-KEY00000000000&#039;; \/\/ &lt;--- This is your secret key 32 Chars\n\/\/$url = base64_encode( $url ); \/\/ &lt;--- This is your existing code\n$url=trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $salt, $url, MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND)))); \/\/ &lt;--- This is new code<\/code><\/pre>\n<p>One problem I have come across is encoding\/decoding magnet links, Would it be possible to add the option to exclude <strong>magnet:?xt=urn:btih:<\/strong> links?<\/p>\n<p>Thanks again<\/p>\n","protected":false},"template":"","class_list":["post-9362139","topic","type-topic","status-publish","hentry","topic-tag-encrypt","topic-tag-feature","topic-tag-mcrypt"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9362139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9362139\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9362139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}