New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QTVCP - Multiple Periods in File Names Causing Crashes #1082
Conversation
Our millwrights have been trying to name files in a mm.dd.yyyy.ngc File Format. Catching this here
# Conflicts: # lib/python/qtvcp/core.py
Thank you |
It seems this breaks on paths with ../ which are legal. Could you address this? |
reference: But hey maybe it's a unicode problem ... I'll look into it further. |
the problem you were trying to fix was something like 'test.2.ngc' ? |
My apologies I forgot about that case. Yes |
No problem. it showed a problem with file_manager that would add weird /../home paths. |
Can I suggest this for edge case protection? https://github.com/satiowadahc/linuxcnc/tree/cw-period |
That looks good. Do you want to pull request or shall I just add the changes myself. |
Can you remember why multiple .. broke linuxcnc? |
Our Millwright were trying to save files with multiple periods. This ended with some unwanted behavior and crashed Linuxcnc on occasion.
Class methods by definition can't access themselves, renaming local variable to clear warnings