541dae36d4
Util: New util to truncate a string that won't split across a surrogate pair
2018-01-10 17:39:58 +00:00
be004cd350
Util: Consolidate two copies of WriterOutputStream into jetty-i2p.jar
2017-12-18 12:45:04 +00:00
b04924d2b1
Jetty: Fix request log showing zero length for static content
2017-12-11 11:39:58 +00:00
str4d
a67ea4b2f2
Cleanups: Close resources via try-finally
...
We can't use try-with-resources until we bump the minimum-supported Android
version for the client library to API 19.
2017-12-09 01:02:17 +00:00
f5dffb0726
Susimail, Console, Jetty:
...
- Adjust multipart size limits
- Better handling of errors when multipart limits are exceeded
- Fix multipart config for /configplugins
- Test for total size limit in susimail
2017-12-05 21:46:11 +00:00
c299976165
Jetty: Refactor (rather than remove) RequestWrapper to use Servlet 3.0 API.
...
Remove old org.mortbay helper classes copied from Jetty 5, saving about 24 KB.
Large attachments will now be written to temp files. (ticket #2109 )
2017-12-04 16:08:03 +00:00
14941d0dda
Deprecate RequestWrapper (ticket #2109 )
2017-12-03 23:09:22 +00:00
ed39ea408f
Utils: Consolidate user-agent detection code in a new utility class
...
Add some new checks for mobile
2017-11-16 12:58:59 +00:00
24414845d0
Package changelogs
...
Fix extra chars in patch 1
Fix javadoc causing build error on Trusty
Deb build doc updates
2017-08-09 19:53:41 +00:00
777d2fc0f0
javadoc fix
2017-05-17 13:26:39 +00:00
3e354f2f1a
Jetty: New default servlet for eepsite, with
...
locale-independent directory listing (ticket #1965 )
2017-05-05 19:53:43 +00:00
0703a29562
propagate from branch 'i2p.i2p.zzz.jetty9' (head 80022f6ef552acd1382d45103969aa7c17b1d794)
...
to branch 'i2p.i2p' (head 3b4b418ae8be95d52228fc7c325fc52e0223e4fe)
2017-03-11 15:24:23 +00:00
1c720a0fda
finals
2017-03-09 15:23:28 +00:00
3631efa567
Fixup for PathMap generics
...
Remove dup returns
2017-03-01 16:41:19 +00:00
a6e62afc1f
Servlet: Catch OOM in MultiPartRequest
2017-03-01 12:58:16 +00:00
78da3b9785
javadoc fixes part 15 (ticket #1894 )
2017-01-27 16:00:58 +00:00
e0e06d73eb
javadoc fixes part 14 (ticket #1894 )
2017-01-27 03:14:34 +00:00
e461e8fb4f
javadoc fixes part 3 (ticket #1894 )
2017-01-26 20:51:05 +00:00
c66559ff84
propagate from branch 'i2p.i2p' (head d2e954c054d89a425c9791067ac7998433e95a23)
...
to branch 'i2p.i2p.zzz.jetty9' (head adcba23cab31b88e430ee09bf45fd1b6789a1719)
2017-01-19 17:19:00 +00:00
5be077e25d
Clean up single char indexOf()
2016-12-02 18:52:37 +00:00
8cc03c265f
JettyStart: Fix (now unused) main()
2016-08-19 16:06:04 +00:00
094cf14d4a
Debian:
...
Prep for dependency on libtomcat7
Doesn't work yet, breaks susidns.
glassfish-javaee for jstl.jar and standard.jar version 1.2 won't work with tomcat7,
it's ancient and not compatible with recent el libs.
Add back option to depend on libjakarta-taglibs-standard and libjstl1.1-java which are version 1.1.2,
but not clear if they will work with tomcat7 either, even though they are
dependencies of libjetty8-extra-java.
We switched from JSTL 1.1.2 to JSTL 1.2 when we went from Jetty 5 to Jetty 6 in 2012.
1.2 libs are not available anywhere except for Glassfish, and
Debian only has the ancient Java EE 5 Glassfish 2.1.
Not clear there's any way to get susidns (and bote) to work with both Tomcat 6 and 7.
- Fix wrong jsp-api version
- Fix other minor errors in install and links files.
- Log stack trace for Jetty warnings if log level is WARN
- SusiDNS: Move standard.jar and jstl.jar out of WEB-INF/lib, where Tomcat 7 build refuses to find them
2016-04-07 14:38:30 +00:00
46af643ca8
Change default source logging from b64 to b32.
...
To change back to b64, add the following to the RequestLogImpl
section of jetty.xml:
<Set name="b64">true</Set>
2016-01-06 17:45:35 +00:00
f8830a759e
Threads: More conversions to I2PAppThread
2015-11-04 15:01:56 +00:00
abc0f4c720
lint core, console, i2ptunnel, jetty
2015-10-17 17:38:57 +00:00
71bc55b470
lint core, i2psnark, jetty, susimail
2015-10-17 16:49:37 +00:00
53ae727935
synch fix
2015-09-21 14:54:08 +00:00
b0c3c11bd9
Start work on Jetty 9
...
targetting 9.2.x for now
Requires Java 7
2015-08-09 13:36:24 +00:00
ecd0231cd0
Fix console SSL excluded ciphers (thx lazyg)
...
Fix typo in local address in I2PSSLSocketFactory
Another findbugs char encoding fix
Add keystore password option to SU3File command line
2015-08-02 12:58:00 +00:00
dd47389ad1
Console: Use registered host/port for eepsite link (ticket #1604 )
...
Jetty starter: Register host/port when started
PortMapper: Add hostname support
2015-06-25 17:00:52 +00:00
bb33b358b4
Change log level for Jetty warnings with exceptions
...
from error to warn (ticket #1551 )
2015-05-02 14:36:39 +00:00
7f472e4ee9
Console:
...
- Move multipart form support from susimail to jetty-i2p.jar
so console can use it
- Add multipart form support to formhandler.jsi and FormHandler.java
Reseed:
- Fix zip magic number
- Finish manual reseed from local file
package.html files for jetty-i2p.jar
2015-03-20 12:30:04 +00:00
dg2-new
9163d41228
* I2PSnark, Jetty, SAM, crypto: findbugs resource leaks.
2015-02-10 21:57:27 +00:00
b28eb708a4
* Console:
...
- Fix update buttons
- Don't filter parameter names starting with "nofilter_"
- Re-allow configadvanced, news URL, and unsigned update URL if routerconsole.advanced=true
- Re-allow plugin install if routerconsole.advanced=true or routerconsole.enablePluginInstall=true
- Only allow whitelisted plugin signers, unless routerconsole.allowUntrustedPlugins=true
- Re-allow clients.config changes if routerconsole.advanced=true or routerconsole.enableClientChange=true
- More escaping
* i2psnark: Fix add torrent form
2014-08-03 13:58:51 +00:00
6753d23309
Add filtering for getParameterMap()
...
Don't return null entries in getParameterValues() array
Log in getParameterValues() too
static
2014-07-26 15:09:40 +00:00
2c8223274d
filter pattern tweaks
2014-07-26 13:43:52 +00:00
f0dd09cf9c
filter logging
2014-07-26 12:18:35 +00:00
58578d9020
Console:
...
XSSFilter patch from str4d:
XSSFilter and XSSRequestWrapper were from http://ricardozuasti.com/2012/stronger-anti-cross-site-scripting-xss-filter-for-java-web-apps/
No provided license, but it is clearly intended for public consumption.
But most of it is boilerplate provided by the Servlet Filter system.
In fact, now that I have stripped out his JS-specific patterns and replaced it with the whitelist,
it is effectively identical to what I would have written from scratch.
2014-07-26 09:39:31 +00:00
51911bd9a8
fix jetty deprecations
2014-03-12 12:25:30 +00:00
str4d
ae79deff39
net.i2p.jetty.*: type arguments, unused imports
2013-11-21 10:13:34 +00:00
3d42946ff5
* Console: Remove I2PDigestAuthenticator workaround, as Jetty 7.6.11 has the fix
...
* Jetty 7.6.11
* Tomcat 6.0.37
2013-05-29 16:30:00 +00:00
813a1981d9
* Console, TunnelControllerGroup: Don't register shutdown hook if ClientAppManager is present
...
* JettyStart: Fixes for use by plugins
* RouterAppManager: Add shutdown hook
2013-04-24 15:45:15 +00:00
22025b0c3a
* Console: Fix Jetty digest auth bug causing repeated password requests
...
I2P fixes for out-of-order nonce counts.
Based on DigestAuthenticator in Jetty 7.6.10.
Includes the nonce count verification code from Tomcat 7.0.35.
ref: http://jira.codehaus.org/browse/JETTY-1468 which was closed not-a-bug.
ref: https://bugs.eclipse.org/bugs/show_bug.cgi?id=336443 in which the
Jetty implementation was introduced.
2013-04-23 18:22:48 +00:00
4358d11191
Baseline checkin of DigestAuthenticator from Jetty 7.6.10 before mods
2013-04-23 18:19:49 +00:00
5ea2832ae0
* AppManager: Register jetty, console, and SAM with manager
2013-04-19 11:41:35 +00:00
57b794f72a
* Jetty logging: Fix logging using I2PLogger class;
...
log ignored messages at debug level
2013-04-14 14:02:43 +00:00
be8697cb9a
jetty 7 first cut
2012-11-21 18:05:50 +00:00
cbc9165afd
- Add a jetty starter that can be stopped later
...
- Include jetty-i2p.jar in the updaters
2012-10-17 17:37:45 +00:00
703f28e87d
* Build:
...
- Include old commons logging classes in commons-logging.jar
- Preserve manifests in Jetty/Tomcat jars
* Jetty Logger: Promote warns to erros when a Throwable is the second arg
2012-03-11 18:30:43 +00:00
7bd83f83ed
* Jetty Logger: Put a note in wrapper log saying where the logs went
2012-03-10 21:51:20 +00:00