Extension talk:Secure HTML
Discuss Extension:Secure HTML here:
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| Not working in version 1.18? | 0 | 10:31, 10 January 2012 |
| Restrict Special Page? | 0 | 10:30, 10 January 2012 |
| problem in function calling | 0 | 10:30, 10 January 2012 |
| not working with more than 1 key?! | 0 | 10:30, 10 January 2012 |
| PHP Error in SecureHTML.php | 0 | 10:29, 10 January 2012 |
| Fatal error message | 1 | 10:29, 10 January 2012 |
| not really that secure | 0 | 10:28, 10 January 2012 |
| Preview not rendered | 0 | 10:27, 10 January 2012 |
| a href issue | 0 | 10:27, 10 January 2012 |
| Works great | 0 | 10:27, 10 January 2012 |
| 'invalid hash' error | 5 | 10:26, 10 January 2012 |
Hi all,
I have been unable to get this code to work after upgrading to the latest version. Anyone else have luck doing it? It appears some of the base code has changed that broke functions used by this extension. I took a few hours to try and troubleshoot it days ago, but gave up and found a workaround for I needed(Paypal donation button). I am now in need of adding it back in so that I can submit some other Paypal related code (for subscription to our maker-space). Thanks.
Hi, I want to restrict the special page made for this to only administrators of the wiki, can someone tell me how I do this?
Thanks.
Dear,
I want to display table from database using secure html in my article page. so what i did, design small html form consist name and email address and on submission it will chek regular expression or its exist or not in my table. but here what happen after submission it creating new page new of function file.
that is all limitation or i cant do like this.
<form method=post action="chek.php> email <input=text id=email> name<input=text id=name>
</form>
chek.php
contains code for cheking this..
is it possible to run like this in my article page.
help me?
for me this extension was not working with more than one key in the array...
this is an "error" in the source of SecureHTML.php
$keyname = ($argv['keyname'] ? $argv['keyname'] : $keykeys[0]);
should be replaced with
$keyname = ($argv['hash'] ? $argv['hash'] : $keykeys[0]);
the other version doesnt make sense for me.
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?
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".
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.
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.
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?
I always get Error: invalid hash
Why not consider another similar Extension:SecureHTML extension?
Don't forget to edit your LocalSettings.php to include your primary and secondary key strings, otherwise you'll keep getting that error
I always get Error: invalid hash also, and I put in a primary and secondary key string in localsetting.php
Any suggestions?
Where does:
$shtml_keys = array( 'primary key' => "key1", 'another key' => "key2" );
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?
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! ^____^
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!