Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-04-01 03:08:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-04-01 03:08:25 +0300
commit58f5efa917c82e5384940c13f2527113bd853e44 (patch)
tree685ca2ffcbf119fe2cca8fc41148039f6ad23c18 /lib/gitlab/asciidoc
parent32bbedbc214c30979168c8005c83259feb468540 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/asciidoc')
-rw-r--r--lib/gitlab/asciidoc/include_processor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/asciidoc/include_processor.rb b/lib/gitlab/asciidoc/include_processor.rb
index 53d1135a2d7..6c4ecc04cdc 100644
--- a/lib/gitlab/asciidoc/include_processor.rb
+++ b/lib/gitlab/asciidoc/include_processor.rb
@@ -33,7 +33,7 @@ module Gitlab
max_include_depth = doc.attributes.fetch('max-include-depth').to_i
return false if max_include_depth < 1
- return false if target_uri?(target)
+ return false if target_http?(target)
return false if included.size >= max_includes
true