Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I don't understand why some file hosting websites restrict certain file types. It's not like you can execute them on the server. And if you find an exploit to do that, you could execute them regardless of the extension.
Also, when downloading them, the server sends a download header, so even js files are not executed on the browser. -
Aaahhh, make a check for what OS you're using and make an if else using "/"'s and "\\"'s depending on the OS, otherwise it's not cross platform and it's in Python :(
-
Ickerday817yI started out in Python, but when I made the switch to Java/C#, I couldn't code in Python without those optional parameter type declarations. I just couldn't, my paranoia wouldn't let me.
Oh yeah, and that code needs some work. -
@ThoughtfulDev No it doesn't. Actually it has *some* support for forward slashes. It doesn't work every time though.
Related Rants
Well, I feel reaaaally secure now...
rant
secure
python