- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for Forwarded (0.31 sec)
-
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
if (cookieSecure != null) { return cookieSecure; } return LaRequestUtil.getOptionalRequest().map(req -> { String forwardedProto = req.getHeader("X-Forwarded-Proto"); if ("https".equalsIgnoreCase(forwardedProto)) { return true; } return req.isSecure(); }).orElse(false); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
assertTrue(cookies[0].getSecure()); assertEquals("example.com", cookies[0].getDomain()); } public void test_storeSearchParameters_withForwardedProto() { getMockRequest().addHeader("X-Forwarded-Proto", "https"); getMockRequest().setParameter("q", "test"); getMockRequest().setParameter("lang", "en"); searchHelper.storeSearchParameters();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
/** * Gets the client IP address from the request. * Checks X-Forwarded-For header before using remote address. * * @param request the HTTP servlet request * @return the client IP address */ public String getClientIp(final HttpServletRequest request) { final String value = request.getHeader("x-forwarded-for"); if (StringUtil.isNotBlank(value)) { return value;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
assertTrue(true); } } public void test_getClientIp() { ViewHelper viewHelper = new ViewHelper(); viewHelper.init(); getMockRequest().addHeader("x-forwarded-for", "192.168.1.1"); assertEquals("192.168.1.1", viewHelper.getClientIp(getMockRequest())); getMockRequest().setRemoteAddr("127.0.0.1"); assertNotNull(viewHelper.getClientIp(getMockRequest()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 27.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
final String secure = fessConfig.getCookieSearchParameterSecure(); if (StringUtil.isBlank(secure)) { final String forwardedProto = req.getHeader("X-Forwarded-Proto"); if ("https".equalsIgnoreCase(forwardedProto)) { cookie.setSecure(true); } else {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// notices and transitions to the FAILED state. We do it by calling notifyFailed directly // because the service does not monitor the state of the future so if the exception is not // caught and forwarded to the service the task would stop executing but the service would // have no idea. // TODO(lukes): consider building everything in terms of ListenableScheduledFuture then
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// notices and transitions to the FAILED state. We do it by calling notifyFailed directly // because the service does not monitor the state of the future so if the exception is not // caught and forwarded to the service the task would stop executing but the service would // have no idea. // TODO(lukes): consider building everything in terms of ListenableScheduledFuture then
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.24.md
- Added a path `/header?key=` to `agnhost netexec` allowing one to view what the header value is of the incoming request. Ex: ``` $ curl -H "X-Forwarded-For: something" 172.17.0.2:8080/header?key=X-Forwarded-For something ``` ([#107796](https://github.com/kubernetes/kubernetes/pull/107796), [@alexanderConstantinescu](https://github.com/alexanderConstantinescu))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu Aug 24 00:02:43 UTC 2023 - 473.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.10.md
([#55479](https://github.com/kubernetes/kubernetes/pull/55479), [@ijc](https://github.com/ijc))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu May 05 13:44:43 UTC 2022 - 341.8K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.26.md
- Allowed `Label` section in vSphere e2e cloud provider configuration. ([#112427](https://github.com/kubernetes/kubernetes/pull/112427), [@gnufied](https://github.com/gnufied))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu Mar 14 16:24:51 UTC 2024 - 425.7K bytes - Viewed (0)