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

--- Comment #10 from Andre Klapper <[email protected]> ---
<LpSolit> andre: the code and comments are correct...
<LpSolit>  if ($cgi->url_is_attachment_base($bug_id)) {
<LpSolit> it will check if the URL is the one for the given attachment
<LpSolit> and if it's not, then we know there is something wrong
<LpSolit> which is what the comment says
<LpSolit>    # If we come here, this means that each bug has its own host
<LpSolit>    # for attachments, and that we are trying to view one attachment
<LpSolit>    # using another bug's host. That's not desired.
<LpSolit> you don't reach  elsif ($cgi->url_is_attachment_base) if your are
viewing attachments with the correct URL

-- 
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