ID:1993603
 
Resolved
browse(file("anytextfile.txt")) failed to load the text file correctly into the browser control.
BYOND Version:509
Operating System:Windows 7 Pro 64-bit
Web Browser:Chrome 47.0.2526.73
Applies to:Webclient
Status: Resolved (509.1316)

This issue has been resolved.
Descriptive Problem Summary:
When attempting to browse() a file it opens "Not Found" in browser

Numbered Steps to Reproduce Problem:
1. Use browse() on a text file

Code Snippet (if applicable) to Reproduce Problem:
src << browse(file(text.txt))


Expected Results:
text.txt contents to show in browser

Actual Results:
"Not Found" page in browser

Does the problem occur:
Every time? Or how often? Yes
In other games? Yes
In other user accounts? Yes
On other computers? Yes

When does the problem NOT occur?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:
Grab text file contents with file2text then use browse()
Do you have a demo for this one too? I'm sure there's something simple involved that I can fix.
Lummox JR resolved issue with message:
browse(file("anytextfile.txt")) failed to load the text file correctly into the browser control.