-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix markdown #71
Fix markdown #71
Conversation
Without this plugin links aren't clickable.
I am not sure whether we should allow images to be rendered in messages.
|
@eternal-flame-AD You're right. Didn't think about that. That's probably why all the other notification clients use message attachments for images. That prevents remote loading. |
@ceptonit It should be possible to add the images just as links, this would be similar to attachments. |
@jmattheis To be fair, if the markdown image fix is not implemented on the android app, might as well, block the feature on the server app as well as it works fine there. |
That would be a tough decision. I have came up with these solutions which I consider acceptable:
The solutions are sorted in order of my personal preference. |
I'd say we go for your first solution, the main attack point would be when someone gets access to an application token or to the actual server. I think both these scenarios are pretty rare and if they happen then getting some information through images in markdown isn't really severe. Interpolation is an issue, but when using 3rd party strings users should just use text/plain. I also like the idea of a client side setting for disabling images but I'd say the default should be to show images, the ordinary user probably expects this behavior. An other Idea would be to manually click on images to load them, I dunno if that is possible with markwon, but it would be pretty cool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, so let's update the documentation to notify user of this potential risk.
Fixes #69
Fixes #70