Skip to content

Include full image URL in webhooks for uploaded images

Todo list for Sean

What does this MR do?

Rewrites 'simple' image upload Markdown to use absolute, not relative URLs. This will fail for manually-added images, images in code blocks, etc.

Are there points in the code the reviewer needs to double check?

Is the documentation on the limitations sufficient? Or should we try the other way (HTML -> Markdown)?

Why was this MR needed?

It's annoying when you get a webhook with an image path that is relative to the originating server.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/20720.

Edited by Sean McGivern

Merge request reports