Changeset b4e2619


Ignore:
Timestamp:
Jan 18, 2019 11:35:36 AM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
344c812
Parents:
6ca38307
Message:

Plugins: Fix loading of webapp configuration classes
on Jetty 9.4 by whitelisting them as allowed server classes
(ticket #2385)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/WebAppStarter.java

    r6ca38307 rb4e2619  
    140140            classNames = wac.getDefaultConfigurationClasses();
    141141        String[] newClassNames = new String[classNames.length + 1];
    142         for (int j = 0; j < classNames.length; j++)
     142        for (int j = 0; j < classNames.length; j++) {
    143143             newClassNames[j] = classNames[j];
     144             // fix for Jetty 9.4 ticket #2385
     145             wac.prependServerClass("-" + classNames[j]);
     146        }
    144147        newClassNames[classNames.length] = WebAppConfiguration.class.getName();
    145148        wac.setConfigurationClasses(newClassNames);
  • history.txt

    r6ca38307 rb4e2619  
     12019-01-18 zzz
     2 * Plugins: Fix loading of webapp configuration classes (ticket #2385)
     3
    142019-01-15 zzz
     5 * Debian: AppArmor updates (ticket #2319)
    26 * SusiMail:
    37   - Fix sending mail with attachments (ticket #2373)
  • router/java/src/net/i2p/router/RouterVersion.java

    r6ca38307 rb4e2619  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 17;
     21    public final static long BUILD = 18;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.