• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ebourg / jsign / #414

15 Jul 2026 08:39PM UTC coverage: 80.805% (-0.07%) from 80.877%
#414

push

Tathorack
Fix duplicate slashes in API endpoint paths for DigiCertOneSigningService

DigiCert has pushed a change to their public API's which are causing requests to endpoints with duplicate slashes to fail and return HTML instead of the expected JSON response. This causes JSIGN to fail when using the DigiCert signing service

1 of 1 new or added line in 1 file covered. (100.0%)

63 existing lines in 4 files now uncovered.

5262 of 6512 relevant lines covered (80.8%)

0.81 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/jsign-core/src/main/java/net/jsign/StdOutLogHandler.java
1
/*
2
 * Copyright 2024 Emmanuel Bourg
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *     http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16

17
package net.jsign;
18

19
import java.io.PrintStream;
20
import java.util.logging.Handler;
21
import java.util.logging.Level;
22
import java.util.logging.LogRecord;
23

24
/**
25
 * Log handler for the command line tool.
26
 *
27
 * @since 7.0
28
 */
29
class StdOutLogHandler extends Handler {
1✔
30

31
    @Override
32
    public void publish(LogRecord record) {
33
        PrintStream out = (record.getLevel().intValue() >= Level.WARNING.intValue()) ? System.err : System.out;
1✔
34
        out.println(record.getMessage());
1✔
35
        if (record.getThrown() != null) {
1✔
36
            record.getThrown().printStackTrace(out);
1✔
37
        }
38
    }
1✔
39

40
    @Override
41
    public void flush() {
42
    }
×
43

44
    @Override
45
    public void close() throws SecurityException {
UNCOV
46
    }
×
47
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc