hhuijser/liferay-portal — pull request #960 by sherryre (2012-10-15 23:33:10+00:00)
Title: Lps 30274

Should support file link , such as http://localhost:8080/c/document_library/get_file?p_l_id=10139&folderId=10166&name=DLFE-2.pdf, which is generated in old version of liferay (5.2.4).

In 5.2.4, file could be fetched by folderId and name, which did not support in 6.x.x.

In GetFileAction of 6.x.x, file could only be fetched by groupId, folderId and name. According to the link above, the groupId is not passed by URL so system uses scopedGroupId. That could generate the "file not found" issue cause a file with guest view permission could be accessed by other scopedGroup.