styling, markdown settings tied to config #906

Merged
jessopb merged 1 commit from mdhtml2 into master 2019-02-16 22:10:42 +01:00
jessopb commented 2019-02-09 06:00:03 +01:00 (Migrated from github.com)

links markdown settings to siteConfig
fixes some styling

links markdown settings to siteConfig fixes some styling
skhameneh (Migrated from github.com) requested changes 2019-02-11 03:34:58 +01:00
skhameneh (Migrated from github.com) commented 2019-02-11 03:34:52 +01:00

This change is very dangerous, can you make a list of what is whitelisted?

Blacklists are not safe when it comes to script injection.

This change is **very** dangerous, can you make a list of what is **whitelisted**? Blacklists are not safe when it comes to script injection.
jessopb (Migrated from github.com) reviewed 2019-02-13 23:24:13 +01:00
jessopb (Migrated from github.com) commented 2019-02-13 23:24:13 +01:00

It is now a very long whitelist :)

It is now a very long whitelist :)
skhameneh (Migrated from github.com) reviewed 2019-02-14 22:25:43 +01:00
@ -49,4 +39,3 @@
},
"maxSizeImage": 10000000,
"maxSizeGif": 50000000,
"maxSizeVideo": 50000000
skhameneh (Migrated from github.com) commented 2019-02-14 22:25:37 +01:00

I took a closer look, set this to true and make sure it's documented as a dangerous setting.
I don't want users deploying making mistakes, this needs to be explicitly true on all our instances that allow public content.

I took a closer look, set this to `true` and make sure it's documented as a dangerous setting. I don't want users deploying making mistakes, this needs to be explicitly `true` on all our instances that allow public content.
jessopb commented 2019-02-15 07:16:03 +01:00 (Migrated from github.com)

I made the changes you requested. Also added an ErrorBoundary component to the FileViewer component to prevent it from crashing the app.

I made the changes you requested. Also added an ErrorBoundary component to the FileViewer component to prevent it from crashing the app.
skhameneh (Migrated from github.com) approved these changes 2019-02-15 17:09:15 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/spee.ch#906
No description provided.