[dancer-users] Why does send_file() require a path relative to pubdir?

Warren Young warren at etr-usa.com
Mon Mar 24 21:43:35 GMT 2014

On 3/24/2014 11:20, David Precious wrote:
> On Mon, 24 Mar 2014 07:55:45 -0600
> Warren Young <warren at etr-usa.com> wrote:
>> Dancer::send_file() gives a "No such file" error if you pass it an
>> absolute path or one that is not directly relative to $pubdir.
> Use the system_path info, as documented


> (Obviously ensuring those vars are sane, and don't contain anything
> nefarious.)

Good point.

More information about the dancer-users mailing list