• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Sanitize HtML plugin not working

Scheduled Pinned Locked Moved Technical Support
5 Posts 2 Posters 438 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • daftcyborgD Offline
    daftcyborgD Offline
    daftcyborg
    wrote on last edited by daftcyborg
    #1

    Hi,

    I am trying to use the sanitize html plugin so that when users post html I can prevent an attack. I installed and activated the plugin using the ACP but it doesn't show up as a plugin settings page under "plugins" in the navigation menu.

    I am using:
    nodebb v.1.16.2.
    npm v.6.14.4

    GitHub - akhoury/nodebb-plugin-sanitizehtml: a nodebb plugin that sanitizes html content

    a nodebb plugin that sanitizes html content . Contribute to akhoury/nodebb-plugin-sanitizehtml development by creating an account on GitHub.

    favicon

    GitHub (github.com)

    I have tried rebuilding and reloading the site after installing and activating the sanitize html plugin. Any ideas? Do I have to do something from the command line?

    All the Best,

    Dan

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to daftcyborg on last edited by
    #2

    @daftcyborg sanitization is built in now. Have you tried without the plugin?

    daftcyborgD 1 Reply Last reply
    0
  • daftcyborgD Offline
    daftcyborgD Offline
    daftcyborg
    replied to PitaJ on last edited by
    #3

    @pitaj Thanks for the reply! Is it built into the markdown plugin now?

    HTML works in posts now which we need for affiliates. I turned on Markdown's "Allow HTML" to achieve this. Is it necessary to install the sanitizehtml plugin just in case to avoid attacks?

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to daftcyborg on last edited by PitaJ
    #4

    @daftcyborg no we have sanitization built into core now. So even without the markdown plugin you won't be able to post scripts and stuff. Try it.

    daftcyborgD 1 Reply Last reply
    1
  • daftcyborgD Offline
    daftcyborgD Offline
    daftcyborg
    replied to PitaJ on last edited by
    #5

    @pitaj Great! That's good to know!

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development