Cal-CS-61A-Staff / 61a-code

Web-based IDE for Python, Scheme, and SQL intended for students taking CS 61A.
MIT License
7 stars 9 forks source link

Can't open large files from a shortlink #10

Closed rahularya50 closed 5 years ago

rahularya50 commented 5 years ago

This is because we store the file to be loaded in a cookie, which has a maximum size that's way too small for our purposes.

Either use templating to serve the loaded file at once (preferable), or load it using AJAX after the initial page loads. If the latter, make sure to authenticate the user correctly when sharing private links.