Description: Allow serving synlinked JavaScript libraries.
Author: Philipp Hahn <pmhahn@debian.org>
Forwarded: yes
a
|
b
|
bool HtmlServerExtension::ProcessRequest |
87 | 87 | |
88 | 88 | if (bStorageGroupFile || oInfo.exists() == true ) |
89 | 89 | { |
90 | | QString sResName = oInfo.canonicalFilePath(); |
| 90 | QString sResName = oInfo.dir().canonicalPath(); |
91 | 91 | |
92 | 92 | // -------------------------------------------------------------- |
93 | 93 | // Checking for url's that contain ../ or similar. |
… |
… |
bool HtmlServerExtension::ProcessRequest |
98 | 98 | { |
99 | 99 | if (oInfo.exists()) |
100 | 100 | { |
101 | | if (oInfo.isSymLink()) |
102 | | sResName = oInfo.symLinkTarget(); |
| 101 | QString sResName = oInfo.canonicalFilePath(); |
103 | 102 | |
104 | 103 | // ------------------------------------------------------ |
105 | 104 | // Is this a Qt Server Page (File contains script)... |