Skip to content
This repository was archived by the owner on Oct 24, 2018. It is now read-only.
This repository was archived by the owner on Oct 24, 2018. It is now read-only.

Allow display of html tags from API #10

@Skylsmoi

Description

@Skylsmoi

now: react does not interpret html tags from API, it's a basic react security rule

expected: use the dangerouslySetInnerHtml property to allow html

Note : the main security issue is that it allows to save <script> tags in database that will be loaded by clients when they display the message. But Tracim backend already strip those script tags before saving the message in database (tested on tracim v1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions