Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Special Characters in Filename return 404 #1434
I couldn't find this elsewhere and I believe this was working before, so here I am reporting it!
What were you doing?
Created a .gcode file with "“ in the filename through S3D and uploaded it via scp to my octoprint.
This wouldn't be as much of a problem if it wouldn't mess with the delete function.
What did you expect to happen?
File being able to print
What happened instead?
UI: No Error
Branch & Commit or Version of OctoPrint
1.2.15 Master Branch
[Can be found in the lower left corner of the web interface.]
Printer model & used firmware incl. version
Marlin 1.1.0 - RC7 + RCBugFix
Browser and Version of Browser, Operating System running Browser
Latest Chrome on latest Mac OS X (non beta)
Link to octoprint.log
Link to contents of terminal tab or serial.log
For whatever reason, serial.log is empty
I have read the FAQ.
Please don't do this. When uploading through OctoPrint, OctoPrint will make sure to strip problematic characters from filenames and do some housekeeping it needs to be able to properly operate. You are basically circumventing this, interfered with internal operations and this is what broke stuff here (not only file deletion, but also the internal tracking of metadata). Use the watched folder for uploading via SCP or other means if you don't want to go through the upload API, that's what it's there for. Do not perform manual changes in the uploads folder.
That being said, I just pushed a commit to the
@foosel Thanks for taking time to respond. I had a feeling that the scp upload was breaking my setup causing this issue but I wasn't super sure.
Normally I would close this issue now, but as you were kind enough to take care of even the last person trying to break your great system (me) in the maintenance branch, I leave this open until maintenance gets into some release and this issue will be fixed then.