Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Html Formatter 1.5 doesn't work With some links

maarmaar New
edited September 2010 in Vanilla 1.0 Help
I using opera posted some links(That's Only for Opera)
for example
open:config
AuthorCSS
opera:config#AuthorDisplayMode|AuthorCSS
Opera Button
Star
opera:/button/Highlight bookmark | Add to bookmarks,,,,Missing bookmark
These Links doesn't work with Html Formatter 1.5...
If I modify default.php...but I don't understand these codes(how to?)
I think should better support Opera
Thanks
Tagged:

Comments

  • Inside the plugin's default.php, find this line:
    $Html_AllowedProtocols = array('http', 'https', 'ftp', 'news', 'nntp', 'feed', 'gopher', 'mailto');

    Turn it into:
    $Html_AllowedProtocols = array('http', 'https', 'ftp', 'news', 'nntp', 'feed', 'gopher', 'mailto', 'opera');

    Whether allowing this protocol is advisable I do not know - I'm not familiar with Opera's inner workings. Make sure this doesn't contain any potential vulnerability if some unsavory character tries to use it (ask at the Opera forum?).
  • maarmaar New
    edited August 2006
    Thanks mary Now works fine(added "opera" protocol) About security problems,Opera Internal commands and JavaScript(ECMAScript) You can see the command line when adding a button(RIght click or at Status bar), so it's up to you to decide whether executing that command. or not.
This discussion has been closed.