Closed codergrl closed 4 years ago
I tried the branch with the fix. I noticed that it still allowed me to enter ]
, but it was saved as _
.
Also, I can't edit several features in Ladd's Circle and Squares; these are editable in WPF and UWP apps, so I'm not sure what's happening. I get the 'invalid fields' message defined on RichPopupManager.swift:57. ![image](https://user-images.githubusercontent.com/29742178/67034399-747f3880-f0cc-11e9-8ebf-1ded95d6ceb7.png) I tried debugging, but Runtime doesn't give any info other than 'Feature isn't valid'. One or two features can be edited, but I'm not seeing the pattern as to why.
It looks like the editing is a separate issue (affects master as well) so I'll open a separate issue.
I tried the branch with the fix. I noticed that it still allowed me to enter
]
, but it was saved as_
.
It's fine with me iff there are characters that the system can handle but get translated; it just can't fail to save the attachment.
Verified fixed in the v1.1.2 release.
When renaming a new attachment, the app should validate so the user cannot enter invalid characters like spaces, backslashes, etc. Currently the app allows the user to enter invalid characters, and then it fails to save the attachment throwing a null pointer exception.
Here's the regex used in the dotnet app to validate:
^[^\\\/:*?""<>|\s]+$