DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14700>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14700

[Patch] IOUtils.java recognize .. in Path

           Summary: [Patch] IOUtils.java recognize .. in Path
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the method normalizedFilename a construct like
1) org/apache/cocoon/www/aaa/../bbb
will be transformed into
2) org/apache/cocoon/www/aaa/___/bbb.
A construct like 1) ever occurs if you mount a sitemap for match "aaa"
and in the mounted sitemap you have e.g.
<map:generate src="../bbb/j.xsp" type=serverpages"/>
That means that for every mounted sitemaps which requests "../bbb/j.xsp"
below work-dir a separate j_xsp.java will be generated and compiled even if
the contents is identical (except the package name).
This patch recognizes the ".." in path name and results in
3) org/apache/cocoon/www/bbb
so that every match even for different path gets the same source.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to