Skip to content

Commit 3afdf94

Browse files
committed
fix broken Google link (#1006)
1 parent 288159a commit 3afdf94

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/src/main/paradox/routing-dsl/directives/path-directives/redirectToNoTrailingSlashIfPresent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ or refuses to for security reasons, automatically follow redirects.
2121
Please note that the inner paths **MUST NOT** end with an explicit trailing slash (e.g. `"things"./`)
2222
for the re-directed-to route to match.
2323

24-
A good read on the subject of how to deal with trailing slashes is available on [Google Webmaster Central - To Slash or not to Slash](https://webmasters.googleblog.com/2010/04/to-slash-or-not-to-slash.html).
24+
A good read on the subject of how to deal with trailing slashes is available on [Google for Developers - To Slash or not to Slash](https://developers.google.com/search/blog/2010/04/to-slash-or-not-to-slash).
2525

2626
See also @ref[redirectToTrailingSlashIfMissing](redirectToTrailingSlashIfMissing.md) which achieves the opposite - redirecting paths in case they do *not* have a trailing slash.
2727

http/src/main/scala/org/apache/pekko/http/javadsl/server/directives/PathDirectives.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ abstract class PathDirectives extends ParameterDirectives {
7777
* }
7878
* }}}
7979
*
80-
* For further information, refer to: http://googlewebmastercentral.blogspot.de/2010/04/to-slash-or-not-to-slash.html
80+
* For further information, refer to: https://developers.google.com/search/blog/2010/04/to-slash-or-not-to-slash
8181
*/
8282
def pathEndOrSingleSlash(inner: Supplier[Route]): Route = RouteAdapter {
8383
D.pathEndOrSingleSlash { inner.get.delegate }

http/src/main/scala/org/apache/pekko/http/scaladsl/server/directives/PathDirectives.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ trait PathDirectives extends PathMatchers with ImplicitPathMatcherConstruction w
160160
*
161161
* For further information, refer to:
162162
*
163-
* @see [[https://webmasters.googleblog.com/2010/04/to-slash-or-not-to-slash.html]]
163+
* @see [[https://developers.google.com/search/blog/2010/04/to-slash-or-not-to-slash]]
164164
* @group path
165165
*/
166166
def pathEndOrSingleSlash: Directive0 = rawPathPrefix(Slash.? ~ PathEnd)

0 commit comments

Comments
 (0)