I have an html file with some images and i want to share it with other users as mhtml format.
The html is a local file, created by a standalone desktop application. When i save the html as mhtml it uses file:\
protocol
to the image file paths.
When i open it , as expected an error displayed “not allowed to open local resource
“.
I have seen multiple forums/questions regarding the same issue but my scenario doesn’t involve a server nor I cannot launch a local web server at user machine to fix this issue.
When I changed the file:\
to http:\absolute
followed by the path then its working but this is not acceptable to be done by the user.
is there any way we can bypass this error? or any tweak to create the mhtml with http:absolute instead of file:\
I am trying this with edge browser.