Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
e77bae8
Updates for CheckStyle 13.4
AB-xdev Mar 30, 2026
ab39d28
Merge pull request #9 from xdev-software/checkstyle-13.4
AB-xdev Apr 1, 2026
ab9ffcf
Merge branch 'master' into update-from-template-github_com_xdev-softw…
xdev-gh-bot Apr 1, 2026
ba570b9
Merge branch 'master' into update-from-template-github_com_xdev-softw…
xdev-gh-bot Apr 1, 2026
3ec3ca3
Merge branch 'develop' into update-from-template-github_com_xdev-soft…
xdev-gh-bot Apr 1, 2026
98dd922
Merge pull request #307 from xdev-software/master
AB-xdev Apr 1, 2026
1422956
Merge remote-tracking branch 'origin/update-from-template-github_com_…
xdev-gh-bot Apr 1, 2026
59f35af
Update dependency org.mariadb.jdbc:mariadb-java-client to v3.5.8
xdev-renovate Apr 2, 2026
1fa560a
Update dependency software.xdev:testcontainers-advanced-imagebuilder …
xdev-renovate Apr 2, 2026
14327f3
Update dependency io.github.git-commit-id:git-commit-id-maven-plugin …
xdev-renovate Apr 4, 2026
af17818
Update dependency org.seleniumhq.selenium:selenium-dependencies-bom t…
xdev-renovate Apr 11, 2026
dfc366a
Update dependency org.springdoc:springdoc-openapi-starter-webmvc-ui t…
xdev-renovate Apr 12, 2026
b8c548f
`SecureVaadinRequestCache` no longer ignores `urlMapping`
AB-xdev Apr 13, 2026
c2f5656
Merge pull request #311 from xdev-software/renovate/io.github.git-com…
AB-xdev Apr 13, 2026
1c31307
Merge pull request #308 from xdev-software/renovate/org.mariadb.jdbc-…
AB-xdev Apr 13, 2026
37b2920
Merge pull request #309 from xdev-software/renovate/software.xdev-tes…
AB-xdev Apr 13, 2026
2dc6d5d
Merge pull request #313 from xdev-software/renovate/org.seleniumhq.se…
AB-xdev Apr 13, 2026
8a051d3
Merge pull request #314 from xdev-software/renovate/org.springdoc-spr…
AB-xdev Apr 13, 2026
953b9fb
Revert "Update dependency org.seleniumhq.selenium:selenium-dependenci…
AB-xdev Apr 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<property name="tokens" value=" CLASS_DEF"/>
</module>
<module name="IllegalImport"/>
<module name="IllegalSymbol"/>
<module name="InterfaceIsType"/>
<module name="JavadocStyle">
<property name="checkFirstSentence" value="false"/>
Expand Down
2 changes: 1 addition & 1 deletion .idea/checkstyle-idea.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.1.1
* Vaadin
* `SecureVaadinRequestCache` no longer ignores `urlMapping`

# 2.1.0
* Renamed `OAuth2AuthenticationTokenUtil` -> `OAuth2AuthenticationTokenExtractor`
* Updated dependencies
Expand Down
2 changes: 1 addition & 1 deletion demo/integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<dependency>
<groupId>software.xdev</groupId>
<artifactId>testcontainers-advanced-imagebuilder</artifactId>
<version>2.4.1</version>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
Expand Down
6 changes: 3 additions & 3 deletions demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
</dependency>

<!-- Caching for actuator -->
Expand All @@ -106,7 +106,7 @@
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.5.7</version>
<version>3.5.8</version>
<!-- https://mariadb.com/kb/en/about-mariadb-connector-j/#size-consideration -->
<exclusions>
<exclusion>
Expand Down Expand Up @@ -210,7 +210,7 @@
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>9.1.0</version>
<version>10.0.0</version>
</plugin>

<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import com.vaadin.flow.router.RouteBaseData;
import com.vaadin.flow.server.VaadinServlet;
import com.vaadin.flow.server.VaadinServletService;
import com.vaadin.flow.spring.security.RequestUtil;
import com.vaadin.flow.spring.security.VaadinDefaultRequestCache;


Expand All @@ -56,6 +57,9 @@ public class SecureVaadinRequestCache extends VaadinDefaultRequestCache
@Autowired
protected ServletContext context;

@Autowired
protected RequestUtil requestUtil;

// Shortcut to save computation cost (no path is longer than this)
protected int defaultPathMaxLength = 255;
protected int defaultWildcardPathLengthAssumption = 48;
Expand Down Expand Up @@ -154,8 +158,8 @@ protected synchronized void initAllowedPaths()
.stream()
.map(RouteBaseData::getTemplate)
.filter(s -> !s.isBlank())
.map(this.requestUtil::applyUrlMapping)
.map(this::handleUrlParameterInPath)
.map(s -> "/" + s)
.collect(Collectors.toSet());

LOG.debug("Allowed paths: {}", allowedPaths);
Expand Down
Loading