Skip to content

Commit 3746ef1

Browse files
committed
Merge branch 'release/3.2.1'
2 parents 7969532 + 88c5b2a commit 3746ef1

33 files changed

Lines changed: 1184 additions & 947 deletions

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@
99
.project
1010
.classpath
1111
.settings
12-

.pre-commit-config.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v6.0.0
4+
hooks:
5+
- id: check-added-large-files
6+
args: ['--maxkb=1024']
7+
- id: check-merge-conflict
8+
- id: check-vcs-permalinks
9+
- id: forbid-new-submodules
10+
- id: end-of-file-fixer
11+
- id: trailing-whitespace
12+
args: [--markdown-linebreak-ext=md]
13+
exclude: CHANGELOG.md
14+
- id: check-yaml
15+
args: [--allow-multiple-documents]
16+
- id: check-executables-have-shebangs
17+
- id: check-symlinks
18+
- id: destroyed-symlinks
19+
20+
# Cross platform
21+
- id: check-case-conflict
22+
- id: mixed-line-ending
23+
args: [--fix=lf]
24+
25+
# Security
26+
- id: detect-aws-credentials
27+
args: ['--allow-missing-credentials']
28+
- id: detect-private-key
29+
- repo: local
30+
hooks:
31+
- id: license-check
32+
name: format license headers using maven
33+
always_run: true
34+
language: script
35+
entry: /bin/sh -c "mvn validate license:format"
36+
pass_filenames: false
37+
- repo: https://github.com/crate-ci/typos
38+
rev: v1.35.8
39+
hooks:
40+
- id: typos

LICENSE

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,4 @@
199199
distributed under the License is distributed on an "AS IS" BASIS,
200200
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201201
See the License for the specific language governing permissions and
202-
limitations under the License.
202+
limitations under the License.

kubernetesPod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ metadata:
44
labels:
55
ci: shinyproxy-build
66
spec:
7+
hostUsers: false
78
volumes:
89
- name: docker-socket
910
emptyDir: { }

pom.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>eu.openanalytics</groupId>
77
<artifactId>shinyproxy</artifactId>
8-
<version>3.2.0</version>
8+
<version>3.2.1</version>
99
<packaging>jar</packaging>
1010
<inceptionYear>2016</inceptionYear>
1111

@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.springframework.boot</groupId>
2222
<artifactId>spring-boot-starter-parent</artifactId>
23-
<version>3.4.5</version>
23+
<version>3.4.11</version>
2424
<relativePath/>
2525
</parent>
2626

@@ -31,15 +31,16 @@
3131
<maven.compiler.target>21</maven.compiler.target>
3232
<resource.delimiter>&amp;</resource.delimiter>
3333
<!-- Dependency versions -->
34-
<containerproxy.version>1.2.0</containerproxy.version>
35-
<spring-boot.version>3.4.5</spring-boot.version>
34+
<containerproxy.version>1.2.1</containerproxy.version>
35+
<spring-boot.version>3.4.11</spring-boot.version>
3636
<datatables.version>1.13.5</datatables.version>
3737
<datatables-buttons.version>2.4.1</datatables-buttons.version>
3838
<datatables-responsive.version>2.2.7</datatables-responsive.version>
3939
<handlebars.version>4.7.7</handlebars.version>
4040
<!-- Plugin versions -->
4141
<maven.license-plugin.version>4.6</maven.license-plugin.version>
4242
<maven.build-helper-maven.plugin.version>3.6.0</maven.build-helper-maven.plugin.version>
43+
<maven.dependency-check-plugin.version>12.1.7</maven.dependency-check-plugin.version>
4344
</properties>
4445

4546
<distributionManagement>
@@ -320,7 +321,7 @@
320321
<plugin>
321322
<groupId>org.owasp</groupId>
322323
<artifactId>dependency-check-maven</artifactId>
323-
<version>9.0.9</version>
324+
<version>${maven.dependency-check-plugin.version}</version>
324325
<configuration>
325326
<suppressionFiles>
326327
<suppressionFile>owasp-suppression.xml</suppressionFile>

src/main/java/eu/openanalytics/shinyproxy/AppRequestInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class AppRequestInfo {
2929

3030
private static final Pattern APP_INSTANCE_PATTERN = Pattern.compile(".*?/(app_i|app_direct_i)/([^/]*)/([^/]*)(/?.*)");
3131
private static final Pattern APP_PATTERN = Pattern.compile(".*?/(app|app_direct)/([^/]*)(/?.*)");
32-
private static final Pattern INSTANCE_NAME_PATTERN = Pattern.compile("^[a-zA-Z0-9_.-]*$");
32+
public static final Pattern INSTANCE_NAME_PATTERN = Pattern.compile("^[a-zA-Z0-9_.-]*$");
3333

3434
private final String appName;
3535
private final String appInstance;

0 commit comments

Comments
 (0)