Extension talk:Secure HTML/LQT Archive 1

Discuss Extension:Secure HTML here:

'invalid hash' error
I always get Error: invalid hash --195.248.32.227 14:49, 16 August 2007 (UTC)
 * Why not consider another similar Extension:SecureHTML extension? Jean-Lou Dupont 14:53, 16 August 2007 (UTC)


 * Don't forget to edit your LocalSettings.php to include your primary and secondary key strings, otherwise you'll keep getting that error -- 01:47, 8 October 2007
 * I always get Error: invalid hash also, and I put in a primary and secondary key string in localsetting.php
 * Any suggestions?
 * Where does:


 * Go in localsettings, or does it matter?
 * user:jldupont, I won't use Extension:SecureHTML because:
 * I am running 1.7
 * Installing two programs to make one program work seems like to much of a hassle. Why not combine both programs? Odessaukrain 08:04, 30 March 2008 (UTC)
 * i also get the Error: invalid hash, i wonder if i've found the solution: in my case i've got confused with the fields key name and key, so i've put the key name in both. once i've copied the key string in the key field everything worked perfectly - i love this ingenious extension. i'm quite embarrassed to admit such a silly mistake, but i guess it could happens to others, so laugh with me! ^____^ --Eumeme 01:40, 19 April 2008 (UTC)


 * I initially got "invalid hash" error too, later I recognized that I had a syntax error in my html code that I want to secure. After I correct that, everything works perfect. Thanks to the author!--24.6.151.20 01:11, 21 June 2008 (UTC)

Works great
This works great. Thank you so much whoever did it. -- 80.58.205.45 - 20:07, 23 August 2007

a href issue
Secure html works really good. One issue, when i try to add some thing that has a <a href in it, when in the secure html special page it works fine. when i paste it into a wikitext elsewhere, the spam filter causes it to break. any ideas? tathagat.banerjee@interintel.org

Preview not rendered
If you have a working shtml template (locked to sysops) and edit it, the preview is not working. Annoying if you try out things or adjust layout though, you always have to save to see the change. --16:03, 7 February 2009 (UTC)

not really that secure
Unless i'm missing something this extension is not really secure. The user knows both the key and the input and thus can generate their own hash quite easily. Really the server should have a secret key only it knows about. Bawolff 01:34, 23 April 2010 (UTC) nevermind i misread the code. Bawolff 02:13, 23 April 2010 (UTC)

Fatal error message
When I tried to access "Special:SecureHTMLInput" I get the following error message.

"Fatal error: Cannot redeclare wfsecurehtmlextension in /home/wiki/public_html/w/includes/specials/SpecialSecureHTMLInput.php on line 45". --Aramsahai 01:06, 8 May 2010 (UTC)

PHP Error in SecureHTML.php
Notice: Undefined index: keyname in C:\xampp\htdocs\mediawiki\extensions\SecureHTML.php on line 59

This shows up after I have embedded some HTML (a Facebook Like Box) using an iframe. I am currently running WM-1.16 on a xampp server for development purposes, and I understand about turning off the error messages in PHP. Any suggestions about how to permanently remove it?

Jim Vance 04:44, 26 October 2010 (UTC)