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

[REBOL] Rebol/View dll errors with file location

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