stable-diffusion.cpp
stable-diffusion.cpp copied to clipboard
fix: do not accept LoRA paths outside --lora-model-dir
Attempts to block LoRA names in the prompt from accessing files outside the specified LoRA model directory, which could be a security concern.
Related discussion in: #820