Skip to content

Exception is raised when html body contains url with 'src' link #25

@iinfo-dev-mk

Description

@iinfo-dev-mk

Creating email message with html body, which contains query string with "src" name in some url, throws FileNotFoundException.

$message = new Nette\Mail\Message();
$message->setHtmlBody("<a href='test.php?src=SOME'>some link</a>");

throws FileNotFoundException with message "Unable to read file /SOME"

Because it completely crashes sending particular email, it's serious bug.

Maybe there are another use cases with src string in html, which can also hit this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions