https://bugzilla.wikimedia.org/show_bug.cgi?id=44777

--- Comment #9 from Andre Klapper <[email protected]> ---
Looking at the code, the inline documentation comments confuse me.
We don't use %bugid% in the attachment_base parameter of Wikimedia Bugzilla.
So attachment.cgi:293 states:
        elsif ($cgi->url_is_attachment_base) {
            # If we come here, this means that each bug has its own host for
attachments
which implies that attachment.cgi:264:
        if ($cgi->url_is_attachment_base($bug_id)) {
would be executed if there is no %bugid% substring in attachment_base, right?
But in Bugzilla/CGI.pm:510's url_is_attachment_base() the comment says:
# If we're passed an id, we only want one specific attachment base for a
particular bug.
Feels contradicting, but maybe I miss something obvious.

Wild guesses: There are some calls for
* do_ssl_redirect_if_required()
* redirect_to_urlbase()
in attachment.cgi which might be the reason for our issues?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to