(tomcat) branch 10.1.x updated: Use client locale for directory listings

2024-11-20 Thread remm
listings c600f62e1d is described below commit c600f62e1d0202ca2313b9605e92d08620a38e8e Author: remm AuthorDate: Wed Nov 20 16:20:14 2024 +0100 Use client locale for directory listings --- java/org/apache/catalina/servlets/DefaultServlet.java | 9 - webapps/docs/changelog.xml

(tomcat) branch 9.0.x updated: Use client locale for directory listings

2024-11-20 Thread remm
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/9.0.x by this push: new d95562f482 Use client locale for directory listings

(tomcat) branch 11.0.x updated: Use client locale for directory listings

2024-11-20 Thread remm
listings 7096cbc6a6 is described below commit 7096cbc6a69c774611797d5895be844af18d9d85 Author: remm AuthorDate: Wed Nov 20 16:20:14 2024 +0100 Use client locale for directory listings --- java/org/apache/catalina/servlets/DefaultServlet.java | 9 - webapps/docs/changelog.xml

(tomcat) branch main updated: Use client locale for directory listings

2024-11-20 Thread remm
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new dad524b041 Use client locale for directory listings

(tomcat) 08/19: Fix directory listings

2024-10-22 Thread remm
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 39cb18f1ec4831ee60e620b4eae0882d434cbd0d Author: remm AuthorDate: Mon Oct 21 13:25:55 2024 +0200 Fix directory

(tomcat) 08/18: Fix directory listings

2024-10-22 Thread remm
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 000da96971b6f3c625c09aafb9889c93d22c013b Author: remm AuthorDate: Mon Oct 21 13:25:55 2024 +0200 Fix directory

(tomcat) 08/18: Fix directory listings

2024-10-22 Thread remm
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 11.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 46677e0c06640fd1abce144d539be533050d703b Author: remm AuthorDate: Mon Oct 21 13:25:55 2024 +0200 Fix directory

(tomcat) branch main updated: Fix directory listings

2024-10-21 Thread remm
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new f6037c3344 Fix directory listings f6037c3344 is

[tomcat] branch 8.5.x updated: Fix BZ 66609. Correctly escape XML directory listings

2023-05-24 Thread markt
directory listings 8e725713e8 is described below commit 8e725713e836caa7fc26a3a3a36134cd4c564c63 Author: Mark Thomas AuthorDate: Wed May 24 14:11:32 2023 +0100 Fix BZ 66609. Correctly escape XML directory listings Based on #621 by Alex Kachanov --- build.xml

[tomcat] branch 9.0.x updated: Fix BZ 66609. Correctly escape XML directory listings

2023-05-24 Thread markt
directory listings ae809134ca is described below commit ae809134ca050ef258b87f25717fe8dcc993af5f Author: Mark Thomas AuthorDate: Wed May 24 14:11:32 2023 +0100 Fix BZ 66609. Correctly escape XML directory listings Based on #621 by Alex Kachanov --- build.xml

[tomcat] branch 10.1.x updated: Fix BZ 66609. Correctly escape XML directory listings

2023-05-24 Thread markt
directory listings 46a319e216 is described below commit 46a319e216c1c7af4af2125c796bc751851619ae Author: Mark Thomas AuthorDate: Wed May 24 14:11:32 2023 +0100 Fix BZ 66609. Correctly escape XML directory listings Based on #621 by Alex Kachanov --- build.xml

[tomcat] 01/02: Fix BZ 66609. Correctly escape XML directory listings

2023-05-24 Thread markt
. Correctly escape XML directory listings Based on #621 by Alex Kachanov --- build.xml | 4 +- .../apache/catalina/servlets/DefaultServlet.java | 2 +- .../catalina/servlets/TestDefaultServlet.java | 34 test/webapp/bug66609

[Bug 56463] Allow to disable ServerInfo in directory listings in DefaultServlet

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56463 Violeta Georgieva changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug 56463] Allow to disable ServerInfo in directory listings in DefaultServlet

2014-04-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56463 --- Comment #2 from Konstantin Kolinko --- It is not meant to be security. It is that some people like to hide that information. I am just saying that new feature have to be documented. -- You are receiving this mail because: You are the

[Bug 56463] Allow to disable ServerInfo in directory listings in DefaultServlet

2014-04-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56463 Michael Osipov <1983-01...@gmx.net> changed: What|Removed |Added OS||All --- Comme

[Bug 56463] New: Allow to disable ServerInfo in directory listings in DefaultServlet

2014-04-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56463 Bug ID: 56463 Summary: Allow to disable ServerInfo in directory listings in DefaultServlet Product: Tomcat 7 Version: 7.0.53 Hardware: PC Status: NEW

[Bug 56405] Directory listings are broken in 8.0.x

2014-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56405 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 56405] New: Directory listings are broken in 8.0.x

2014-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56405 Bug ID: 56405 Summary: Directory listings are broken in 8.0.x Product: Tomcat 8 Version: trunk Hardware: PC Status: NEW Severity: normal Priority: P2

[Bug 54320] Regression: can not activate activate directory listings parameter for DefaultServlet STRICT_SERVLET_COMPLIANCE

2013-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54320 --- Comment #4 from Cédrik LIME --- Thanks for the heads up, Violeta! Strangely enough, specifying "resourceOnlyServlets=jsp" is enough, even though it is the DefaultServlet that is serving the listing. As this is a new behaviour for Tomc

[Bug 54320] Regression: can not activate activate directory listings parameter for DefaultServlet STRICT_SERVLET_COMPLIANCE

2013-01-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54320 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 54320] Regression: can not activate activate directory listings parameter for DefaultServlet STRICT_SERVLET_COMPLIANCE

2013-01-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54320 --- Comment #2 from Violeta Georgieva --- Hi, You still can achieve directory listing and strict servlet compliance together. You need to add in the context.xml additional configuration - "resourceOnlyServlets=default,jsp". More informatio

[Bug 54320] Regression: can not activate activate directory listings parameter for DefaultServlet STRICT_SERVLET_COMPLIANCE

2013-01-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54320 --- Comment #1 from Violeta Georgieva --- Hi, I'm going to work on this. Regards Violeta -- You are receiving this mail because: You are the assignee for the bug. - To

[Bug 54320] New: Regression: can not activate activate directory listings parameter for DefaultServlet STRICT_SERVLET_COMPLIANCE

2012-12-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54320 Bug ID: 54320 Summary: Regression: can not activate activate directory listings parameter for DefaultServlet STRICT_SERVLET_COMPLIANCE Product: Tomcat 7

[Bug 53854] DefaultServlet directory listings for aliased directories do not seem to work

2012-09-30 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53854 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 53854] DefaultServlet directory listings for aliased directories do not seem to work

2012-09-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53854 --- Comment #4 from Mark Thomas --- The patch is not functionally correct for FileDirContext and still does not address the root cause. Issue include: - ignores WARDirContext - ignores 3rd party sub-classes - does not use correct priority

[Bug 53854] DefaultServlet directory listings for aliased directories do not seem to work

2012-09-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53854 Daniel Mikusa changed: What|Removed |Added Attachment #29357|0 |1 is obsolete|

[Bug 53854] DefaultServlet directory listings for aliased directories do not seem to work

2012-09-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53854 --- Comment #2 from Mark Thomas --- The proposed patch fixes the symptom rather than the cause. The fix needs to be in BaseDirContext and other classes in the same package. -- You are receiving this mail because: You are the assignee for

[Bug 53854] DefaultServlet directory listings for aliased directories do not seem to work

2012-09-11 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53854 --- Comment #1 from Daniel Mikusa --- Created attachment 29357 --> https://issues.apache.org/bugzilla/attachment.cgi?id=29357&action=edit Patch to DefaultServlet to workaround the error. I was able to work around this error with a slight

[Bug 53854] New: DefaultServlet directory listings for aliased directories do not seem to work

2012-09-11 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53854 Priority: P2 Bug ID: 53854 Assignee: dev@tomcat.apache.org Summary: DefaultServlet directory listings for aliased directories do not seem to work Severity: minor

DO NOT REPLY [Bug 38128] - directory listings DoS

2006-12-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 38128] - directory listings DoS

2006-12-26 Thread bugzilla
tions, as documented in > http://tomcat.apache.org/tomcat-5.0-doc/default-servlet.html#dir > > Finally, as you probably know directory listings are easy to disable: see > http://marc.theaimsgroup.com/?l=tomcat-user&m=105525007220640&w=2 for example > of > the one setti

DO NOT REPLY [Bug 38128] - directory listings DoS

2006-12-24 Thread bugzilla
che which means additional background processing. One approach that comes to mind is a no-op XSLT for customizations, as documented in http://tomcat.apache.org/tomcat-5.0-doc/default-servlet.html#dir Finally, as you probably know directory listings are easy to disable: see http://marc.theaims

DO NOT REPLY [Bug 38128] - directory listings DoS

2006-04-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 38128] - directory listings DoS

2006-04-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 38128] - directory listings DoS

2006-04-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 38128] - directory listings DoS

2006-01-04 Thread bugzilla
gzilla/show_bug.cgi?id=38128 --- Additional Comments From [EMAIL PROTECTED] 2006-01-04 22:22 --- Created an attachment (id=17328) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17328&action=view) patch for caching directory listings This patch addresses the DoS problem and

DO NOT REPLY [Bug 38128] New: - directory listings DoS

2006-01-04 Thread bugzilla
gzilla/show_bug.cgi?id=38128 Summary: directory listings DoS Product: Tomcat 5 Version: 5.5.14 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: tomc

Re: directory listings (updated patch)

2006-01-04 Thread Mark Thomas
do, please let me know. > > On Fri, 2005-12-02 at 11:23 -0500, Rafael H. Schloming wrote: > >>Attached is an updated patch for the directory listings cache. I've made >>the following changes: >> >> * the cache is now implemented in a separate cla

Re: directory listings (updated patch)

2006-01-04 Thread Rafael H. Schloming
Is no interest in merging this patch? I'd like to see it accepted, so if there is anything I can do, please let me know. On Fri, 2005-12-02 at 11:23 -0500, Rafael H. Schloming wrote: > Attached is an updated patch for the directory listings cache. I've made > the following chang

directory listings (updated patch)

2005-12-02 Thread Rafael H. Schloming
Attached is an updated patch for the directory listings cache. I've made the following changes: * the cache is now implemented in a separate class (org.apache.catalina.util.ExpiringCache) * added the following servlet parameters: - listings-cache [true] - listings-cache

Re: directory listings

2005-12-01 Thread Rafael H. Schloming
I can confirm that the benchmarks I was doing were without XSLT. I was using a directory with 2000 empty files on a dual processor 2.8Ghz Xeon with 1G of RAM. I didn't make any changes to the default config produced by ant deploy. On Thu, 2005-12-01 at 19:18 +, Mark Thomas wrote: > Tim Funk wr

Re: directory listings

2005-12-01 Thread Mark Thomas
Tim Funk wrote: It looks like this issue only occurs when the XSLT transformation is done on the directory listing. Which is not an out of box configuration so there is no worry for DOS (in case anyone is wondering). Actually, there is an issue here without the XSLT. This is why directory lis

Re: directory listings

2005-12-01 Thread Rafael H. Schloming
nce findings, although I haven't seen > anyone recently complaining about many concurrent directory listings > requests. > > I have a couple of requests for the patch, if you don't mind some > feedback. I'd prefer a separate class for the DirectoryListingCache >

Re: directory listings

2005-11-30 Thread Tim Funk
tch adds a size limited Map with a 5 second timeout for caching rendered directory listings. My tests show a significant performance improvement and the server no longer keels over from OutOfMemory exceptions at higher concurre

Re: directory listings

2005-11-30 Thread Yoav Shapira
Hi, It's an interesting patch and an interesting idea in general. I'm impressed with the performance findings, although I haven't seen anyone recently complaining about many concurrent directory listings requests. I have a couple of requests for the patch, if you don't mind

directory listings

2005-11-30 Thread Rafael H. Schloming
imeout for caching rendered directory listings. My tests show a significant performance improvement and the server no longer keels over from OutOfMemory exceptions at higher concurrency levels. Below are the results of the benchmarks I performed against the unmodified server. c | total