le 19/07/2006 10:46 Cyriaque Dupoirieux a écrit :
le 18/07/2006 19:03 Thorsten Scherler a écrit :
[SNIP...]
        You can see it with
tail -f build/webapp/WEB-INF/logs/*.log|grep
RecursiveDirectoryTraversalAction

which should return something like:
WARN    (2006-07-17) 16:08.49:702   [core.modules.mapper.lm]
(/search.html) PoolThread-4/RecursiveDirectoryTraversalAction:
RecursiveDirectoryTraversalAction trying to use
uri: /home/thorsten/src/x/blog/src/documentation/resources/structurer/url/search.fv
WARN    (2006-07-17) 16:08.49:705   [core.modules.mapper.lm]
(/search.html) PoolThread-4/RecursiveDirectoryTraversalAction:
RecursiveDirectoryTraversalAction trying to use
uri: /home/thorsten/src/x/blog/src/documentation/content/xdocs/search.fv
WARN    (2006-07-17) 16:08.49:705   [core.modules.mapper.lm]
(/search.html) PoolThread-4/RecursiveDirectoryTraversalAction:
RecursiveDirectoryTraversalAction found at
location: /home/thorsten/src/x/blog/src/documentation/content/xdocs/search.fv


I have made the test with forrest run :
here are the logs generated with the standard plugin (the HEAD)
Call to jeux/ultima2.html :
WARN [core.modules.mapper.lm] (/jeux/ultima2.html): Error reading from source 'lm://dispatcher.structurer.resourceType.document-v20': Could not resolve locationmap location. WARN [core.modules.mapper.lm] (/jeux/ultima2.html): trying to use uri: D:\duc\viewSitePerso/src/documentation/resources/structurer/url/jeux/ultima2.fv WARN [core.modules.mapper.lm] (/jeux/ultima2.html): found at location: D:\duc\viewSitePerso/src/documentation/resources/structurer/url/pelt.fv for [D:\duc\viewSitePerso/src/documentation/resources/structurer/url/jeux/ultima2.fv]

Call to jeux/ultima2/mondes/mapx21.php :
WARN [core.modules.mapper.lm] (/jeux/ultima2/mondes/mapx21.php): trying to use uri: D:\duc\viewSitePerso/src/documentation/resources/structurer/url/.fv WARN [core.modules.mapper.lm] (/jeux/ultima2/mondes/mapx21.php): found at location: D:\duc\viewSitePerso/src/documentation/resources/structurer/url/pelt.fv for [D:\duc\viewSitePerso/src/documentation/resources/structurer/url/.fv]


And here are the logs with {1} in the request :
WARN [core.modules.mapper.lm] (/jeux/ultima2.html): Error reading from source 'lm://dispatcher.structurer.resourceType.document-v20': Could not resolve locationmap location. WARN [core.modules.mapper.lm] (/jeux/ultima2.html): trying to use uri: D:\duc\viewSitePerso/src/documentation/resources/structurer/url/.fv WARN [core.modules.mapper.lm] (/jeux/ultima2.html): found at location: D:\duc\viewSitePerso/src/documentation/resources/structurer/url/pelt.fv for [D:\duc\viewSitePerso/src/documentation/resources/structurer/url/.fv] WARN [core.modules.mapper.lm] (/jeux/ultima2/mondes/mapx21.php): trying to use uri: D:\duc\viewSitePerso/src/documentation/resources/structurer/url/jeux/ultima2/mondes/mapx21.fv WARN [core.modules.mapper.lm] (/jeux/ultima2/mondes/mapx21.php): found at location: D:\duc\viewSitePerso/src/documentation/resources/structurer/url/jeux/ultima2/mondes/pelt.fv for [D:\duc\viewSitePerso/src/documentation/resources/structurer/url/jeux/ultima2/mondes/mapx21.fv]

Cyriaque,


I have tried something completly crazy :
If I use {../1} the request of some files are empty
If I use {1} the request of other files is empty
But I never have {../1} AND {1} is empty or fullfilled at the same time...

So I use {../1}{1} and it works in every time.

It is a work around untill we understand some dispatcher strange behaviours : - Sometimes, the dispatcher generates two files (http://issues.apache.org/jira/browse/FOR-821)
Which may be linked...


If you agree, - because this is the first time since several monthes that I succeed to generate my whole site - I apply my modification in the vault.


Salutations,
Cyriaque,