]> BookStack Code Mirror - bookstack/commit
Updated image fetching in exporting
authorDan Brown <redacted>
Fri, 6 Oct 2017 19:49:25 +0000 (20:49 +0100)
committerDan Brown <redacted>
Fri, 6 Oct 2017 19:49:25 +0000 (20:49 +0100)
commit9758872bafa625f4aacd3a8aeb45ded3773c791e
treed40406d15ae53b70924d5182a860d6ddd41376a6
parentb711bc6816c9d66e817f4b7bfeb157ca9299bbdf
Updated image fetching in exporting

Added domain check to see if possibly local even when whole url found.
Changed image fetch from file_get_contents to curl for external
resources.

Hopeful solution to #392
app/Services/ExportService.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.