[PR] Fix condition for simple top level navigation [wicket]
papegaaij opened a new pull request, #798: URL: https://github.com/apache/wicket/pull/798 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@wicket.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(wicket) 01/01: Fix condition for simple top level navigation
This is an automated email from the ASF dual-hosted git repository. papegaaij pushed a commit to branch fix-top-level-navigation in repository https://gitbox.apache.org/repos/asf/wicket.git commit fcdc54e59eaf925bd5a3a04296463cb0a28e172b Author: Emond Papegaaij AuthorDate: Sun Feb 25 21:06:10 2024 +0100 Fix condition for simple top level navigation --- .../wicket/protocol/http/FetchMetadataResourceIsolationPolicy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicket-core/src/main/java/org/apache/wicket/protocol/http/FetchMetadataResourceIsolationPolicy.java b/wicket-core/src/main/java/org/apache/wicket/protocol/http/FetchMetadataResourceIsolationPolicy.java index ee6d190aaf..b268847893 100644 --- a/wicket-core/src/main/java/org/apache/wicket/protocol/http/FetchMetadataResourceIsolationPolicy.java +++ b/wicket-core/src/main/java/org/apache/wicket/protocol/http/FetchMetadataResourceIsolationPolicy.java @@ -83,7 +83,7 @@ public class FetchMetadataResourceIsolationPolicy implements IResourceIsolationP String dest = request.getHeader(SEC_FETCH_DEST_HEADER); boolean isSimpleTopLevelNavigation = MODE_NAVIGATE.equals(mode) - || "GET".equals(request.getMethod()); + && "GET".equals(request.getMethod()); boolean isNotObjectOrEmbedRequest = !DEST_EMBED.equals(dest) && !DEST_OBJECT.equals(dest); return isSimpleTopLevelNavigation && isNotObjectOrEmbedRequest;
(wicket) branch fix-top-level-navigation created (now fcdc54e59e)
This is an automated email from the ASF dual-hosted git repository. papegaaij pushed a change to branch fix-top-level-navigation in repository https://gitbox.apache.org/repos/asf/wicket.git at fcdc54e59e Fix condition for simple top level navigation This branch includes the following new commits: new fcdc54e59e Fix condition for simple top level navigation The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.