<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alex Rodriguez &#187; bugzilla</title>
	<atom:link href="http://www.alexbr.com/wblog/?feed=rss2&#038;tag=bugzilla" rel="self" type="application/rss+xml" />
	<link>http://www.alexbr.com/wblog</link>
	<description>I don&#039;t play baseball.</description>
	<lastBuildDate>Mon, 07 Jun 2010 14:10:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bugzilla 3.5 Advanced Search Breaks When Bugzilla Reverse Proxied</title>
		<link>http://www.alexbr.com/wblog/?p=3</link>
		<comments>http://www.alexbr.com/wblog/?p=3#comments</comments>
		<pubDate>Tue, 21 Apr 2009 21:04:21 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[bugzilla]]></category>
		<category><![CDATA[bugzilla 3.5]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[mylyn]]></category>

		<guid isPermaLink="false">http://www.alexbrodriguez.com/wblog/?p=3</guid>
		<description><![CDATA[I recently upgraded my bugzilla installation to 3.5 to find my Eclipse-mylyn integration had broken.
After some traffic inspection and a look at buglist.cgi, I found that new code was added to &#8220;clean&#8221; advanced bug queries. This code cleans the query, then performs a redirect to the new clean query using the correct bugzilla hostname but [...]]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded my bugzilla installation to 3.5 to find my Eclipse-mylyn integration had broken.</p>
<p>After some traffic inspection and a look at buglist.cgi, I found that new code was added to &#8220;clean&#8221; advanced bug queries. This code cleans the query, then performs a redirect to the new clean query using the correct bugzilla hostname but <em>using the local webserver port</em>. Because I was proxying traffic to my actual bugzilla server through another server on a different port, this redirect was invalid.</p>
<p>I fixed this by commenting out the following code in buglist.cgi:</p>
<div class="codecolorer-container perl vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:430px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="perl codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># If query was POSTed, clean the URL from empty parameters and redirect back to</span><br />
<span style="color: #666666; font-style: italic;"># itself. This will make advanced search URLs more tolerable.</span><br />
<span style="color: #666666; font-style: italic;">#if ($cgi-&amp;gt;request_method() eq 'POST') {</span><br />
<span style="color: #666666; font-style: italic;">#    $cgi-&amp;gt;clean_search_url();</span><br />
<span style="color: #666666; font-style: italic;">#    print $cgi-&amp;gt;redirect(-url =&amp;gt; $cgi-&amp;gt;self_url());</span><br />
<span style="color: #666666; font-style: italic;">#    exit;</span><br />
<span style="color: #666666; font-style: italic;">#}</span></div></td></tr></tbody></table></div>
<p>I&#8217;ll try to actually fix the redirect tomorrow to take advantage of the cleanup.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexbr.com/wblog/?feed=rss2&amp;p=3</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
