v79e glfw "monkey://data/" not found

Monkey Forums/Monkey Bug Reports/v79e glfw "monkey://data/" not found

Fred(Posted 2014) [#1]
"monkey://data/..." is current directory sensitive, I think it shouldn't given the syntax.
If you change the current dir/drive with os.ChangDir "..."
the next load with "monkey://data/..." is not found.

LoadFile "monkey://data/text.txt"
			
os.ChangeDir( "D:\tempo" )				' works but breaks next monkey://data path
LoadFile "text_d.txt"

' LoadFile "D:\tempo\text_d.txt"			' everything's fine

LoadFile "monkey://data/text.txt"


Method LoadFile:Void( filename:String )
	local fs:FileStream = FileStream.Open( filename, "r" ) 
	if not fs
		Print "Can't load file " + filename
	else
		fs.Close()
		Print "OK " + filename + " found"
	endif
End


produces this:

OK monkey://data/text.txt found
OK text_d.txt found
Can't load file monkey://data/text.txt

( for checking,
there is no text_d.txt in data/,
commenting the ChangeDir&LoadFile and uncommenting LoadFile "D:/tempo/text.txt" produces this:

OK monkey://data/text.txt found
OK D:\tempo\text_d.txt found
OK monkey://data/text.txt found
)