Extension talk:Secure HTML

From MediaWiki.org
Jump to: navigation, search
Start a new discussion

Contents

Thread titleRepliesLast modified
Not working in version 1.18?010:31, 10 January 2012
Restrict Special Page?010:30, 10 January 2012
problem in function calling 010:30, 10 January 2012
not working with more than 1 key?!010:30, 10 January 2012
PHP Error in SecureHTML.php010:29, 10 January 2012
Fatal error message110:29, 10 January 2012
not really that secure010:28, 10 January 2012
Preview not rendered010:27, 10 January 2012
a href issue010:27, 10 January 2012
Works great010:27, 10 January 2012
'invalid hash' error510:26, 10 January 2012

Not working in version 1.18?

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.

—The preceding unsigned comment was added by an unknown user on a unknown date.10:31, 10 January 2012

Restrict Special Page?

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.

--LittleRena 11:06, 28 October 2011 (UTC)10:30, 10 January 2012

problem in function calling

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?

—The preceding unsigned comment was added by an unknown user on a unknown date.10:30, 10 January 2012

not working with more than 1 key?!

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.

--88.73.61.86 03:06, 22 May 2011 (UTC)10:30, 10 January 2012

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)10:29, 10 January 2012

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)10:28, 10 January 2012

I also get an error and have crossed checked everything.

"Fatal error: Call to a member function addMessages() on a non-object in /home/content/42/4737242/html/wiki/extensions/SecureHTML/SecureHTML.php on line 52"

—The preceding unsigned comment was added by an unknown user on a unknown date.10:29, 10 January 2012
 

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)10:28, 10 January 2012

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)10:27, 10 January 2012

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.org10:27, 10 January 2012

Works great

This works great. Thank you so much whoever did it.

-- 80.58.205.45 - 20:07, 23 August 200710:27, 10 January 2012

'invalid hash' error

I always get Error: invalid hash

--195.248.32.227 14:49, 16 August 2007 (UTC)10:24, 10 January 2012

Why not consider another similar Extension:SecureHTML extension?

Jean-Lou Dupont 14:53, 16 August 2007 (UTC)10:24, 10 January 2012

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 —The preceding unsigned comment was added by 71.236.20.120 (talkcontribs) {{{2}}}10:25, 10 January 2012

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:

  1. I am running 1.7
  2. 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)10:26, 10 January 2012
 
 

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)10:26, 10 January 2012
 

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)10:26, 10 January 2012
 
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox