'..Fakepath....'
-
ronecc last edited by
I am trying to post a photo to a site and keep getting the error C:\fakepath.... I have tried adjusting Internet Explorer, even though I do not use it, to allow full paths. That did not work. Is there anywhere in Opera to allow a path to my photos? I can post photos to other sites, could this just be a problem with the site I want to post to?
-
leocg Moderator Volunteer last edited by
Or you can post the site and other missing info. See https://forums.opera.com/topic/23068/instructions-on-posting-about-problems-in-opera-for-computers
-
burnout426 Volunteer last edited by
@ronecc said in '..Fakepath....':
C:\fakepath
For
<input type="file">
in HTML, when you get the value property of it with Javascript, the path is prefixed withC:\fakepath\
for security reasons. See https://html.spec.whatwg.org/multipage/input.html#fakepath-srsly for more information.I would guess then that if the site is trying to get the filename via this method, the code is not stripping the
C:\fakepath\
part. In other words, it sounds like a site problem.Now, if things work fine in other browsers (including Chrome), I'd try using an extension in Opera to mask as Chrome to see if things work then.
-
ronecc last edited by
@burnout426 Thanks for your reply. I have tried it on Chrome and it still comes up with the same problem. I have contacted the site owners and await their reply.