backport of #1092 to stable45
minor whitespace & allow special translation for wrong urls
fix wrong return value for isFileNameValid()
fixing string concatenation in javascript
Merge pull request #1102 from owncloud/backport-1092-stable45

backport of #1092 to stable45