• Sean McGivern's avatar
    Fix image webhook rewriting for uploads · 0bcfd0ad
    Sean McGivern authored
    This rewrote URLs to be absolute URLs. However, for uploads (the most
    common case), we actually need them to point to not just the GitLab
    instance, but the project they're from. Thankfully, we can normally get
    that information from the object we're building the hook for.
    0bcfd0ad
merge_request_builder_spec.rb 1.99 KB