Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
35d2a058
Commit
35d2a058
authored
Jul 17, 2018
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify web hook image rewriting doc example
parent
25664f89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/user/project/integrations/webhooks.md
doc/user/project/integrations/webhooks.md
+2
-2
No files found.
doc/user/project/integrations/webhooks.md
View file @
35d2a058
...
...
@@ -1139,14 +1139,14 @@ in webhooks. So if an image, merge request, comment, or wiki page has this in
its description:
```
markdown
![
image
](
/uploads/
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a/image.png
)
![
image
](
/uploads/
$sh
a/image.png
)
```
It will appear in the webhook body as the below (assuming that GitLab is
installed at gitlab.example.com):
```
markdown
![
image
](
https://gitlab.example.com/uploads/
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a/image.png
)
![
image
](
https://gitlab.example.com/uploads/
$sh
a/image.png
)
```
This will not rewrite URLs that already are pointing to HTTP, HTTPS, or
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment