Log In  

Picotron will convert all path/url strings to lowercase, invalidating some URLs.
I've uploaded a few small files (lowercase_file.txt, UPPERCASE_file.txt and incorrect_case.txt) to showcase this

function _init()
    --will try to fetch "lowercase_file.txt"
    lower = fetch("https://www.lexaloffle.com/bbs/files/51368/lowercase_file.txt")
    --will try to fetch "uppercase_file.txt"
    upper = fetch("https://www.lexaloffle.com/bbs/files/51368/UPPERCASE_file.txt")
    --will try to fetch "incorrect_case.txt"
    wrong = fetch("https://www.lexaloffle.com/bbs/files/51368/INCORRECT_case.txt")
end

function _draw()
    cls()
    ?lower.."\n\n" --should succeed, succeeds
    ?upper.."\n\n" --should succeed, fails (notice how error specifies a request to "uppercase_file.txt")
    ?wrong.."\n\n" --should fail, succeeds
end

this issue has been addressed in the future 0.1.0f update

P#145955 2024-04-07 06:46 ( Edited 2024-04-11 06:37)


[Please log in to post a comment]