[WIP] Move image path to the session scope. by shohhei1126 · Pull Request #1866 · hackmdio/codimd

@shohhei1126

Work in progress for #1601

@shohhei1126 shohhei1126 changed the title Move image path to the session scope. [WIP] Move image path to the session scope.

May 1, 2024

@shohhei1126

Signed-off-by: shohhei1126 <shohheiitoh@gmail.com>

@jackycute

Hi @shohhei1126,

Thanks for opening PR!

There is a use case that user uploads images in a note and later they like to reuse those image urls on the other platform (like external blog post or SNS) and those images will become inaccessible due to the session auth.
This is the main reason why the uploaded images are public accessible by current design.