Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Rebol/View dll errors with file location

 [1/3] from: bry::itnisk::com at: 18-Mar-2004 23:38


okay I have an interesting bug in the plugin: I found this out cause I'm building an explorer button, the button loads a html page in IE's _search window using the file:// protocol, so it refers to file:///c:/winnt/web/toolbar.html?location=a string here; now if a string here is some normal string like howdy everything is fine but if it is an actual http:// path that causes a real problem, causing the Rebol/View dll shell to open up and ask me to enter desktop :) so doing some more experimenting I stripped out the actual protocol part of my http path and got the following: ** Access Error: Cannot open /C/WINNT/Web/testbar.html? location=localhost/sites/mmc_dotnet/testbar.r ** Near: do/args script system/script/args quit
>>
I think if there is going to be working with files in the browser environment which will accept a file opened with the file protocol with this syntax then there should probably be better handling of the conversion to rebol path before an attempt is made to open it. Haven't tested but I wonder what the result would be with a http url with the same structure: http://pathname? querystring=http://otherpathname

 [2/3] from: rebol1:covenantbg at: 19-Mar-2004 10:45


Thanks, this is a definite bug with the file:// protocol. It's on the fix list. Josh

 [3/3] from: bry:itnisk at: 19-Mar-2004 21:41


thanks, although it's not that big of an issue now that I found out how to do a direct path in the LaunchUrl param. The fact that it tried to put /C/ at the front of any exact path threw me cause I was of course putting /C/ at the front of my path.