Upgraded from 5.0.d to 5.1. Now, browsing in share, whenever I open a folder (either in document library or Repository) that has a space in the folder name, I get a 404 error.

For example, Repository->Data Dictionary uses URL:
`http://example.com/share/service/components/documentlibrary/data/doclist/all/node/alfresco/user/home/Data%20Dictionary?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1474355274193`

to retrieve data, which on 5.0.d works fine, but 404s on 5.1. Nothing obviously related in the alfresco.log, catalina.log, etc.

Any ideas?

EDIT: 

`http://example.com/share/service/components/documentlibrary/data/doclist/all/node/alfresco/user/home/Data%20Dictionary?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1474494614509` 

is not working, while 

`http://example.com/share/service/components/documentlibrary/data/doclist/all/node/alfresco/user/home/Shared?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1474494617102` 

does. So it is specifically the space character that seems to matter. Same behaviour throughout (including in document library) -- space in name, link breaks, otherwise it works.