-
Notifications
You must be signed in to change notification settings - Fork 251
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
Config: ASHX and Java connectors do not respect normalizeFilename option #131
Comments
Once you implement features described in #106, #109 and #111 and I review them all, I will ask the maintainers of those connectors to make the updates. I would ask you to list all backward incompatible changes and other essentral recommendations at this topic when you finish with config and security stuff. |
@servocoder
The changes in PR 139 are only config option changes, and they have been applied to all connectors (where I could find the given option name using grep). So, aside from the fact that some of the options were missing code already (like 'normalizeFilename'), I don't think PR 139 will require new, additional work from other connector maintainers. For the new global blacklist/whitelist and The same is true with the pending security model changes. I will document my changes, but will only implement and test them on PHP. Assuming that you approve the model, other connector maintainers would need to implement changes for that too (as you have noted above). Finally, I am still looking at removing |
Thanks for keeping it up to date.
I like your idea suggested in #109, see my answer: #109 (comment). We can ommit the fact that some connectors can have specific errors and force all connectors so use the global list of errors. |
This feature has been released in v2.3.2 |
@fabriceci (Java connector maintainer) Please, take a look on the discussed subject. |
Java connector should be already updated |
Only the PHP connector respects the
normalizeFilename
security option.This option filters out control characters and whitespace from new file names. It should be enforced on the server.
Note that normalization has been done in the client-side Javascript in the past. But that is not secure -- this must be enforced on the server. (Never trust inputs from the client.) See #109 for more discussion about why this was removed from the client-side code.
The text was updated successfully, but these errors were encountered: