2012-03-05 00:24:38 +01:00
|
|
|
<% content_for :head do %>
|
|
|
|
<title>The Middleman!</title>
|
|
|
|
<% end %>
|
|
|
|
|
2015-04-26 22:01:19 +02:00
|
|
|
<h2>Abs</h2>
|
|
|
|
<p>http://example.com/test.jpg</p>
|
|
|
|
|
2012-03-05 00:24:38 +01:00
|
|
|
<h2>Image url:</h2>
|
2015-04-26 22:01:19 +02:00
|
|
|
<p><img src="<%= image_path('100px.jpg') %>"></p>
|
|
|
|
|
|
|
|
<h2>Image url2:</h2>
|
|
|
|
<p><%= image_tag('200px.jpg') %></p>
|
|
|
|
|
|
|
|
<h2>Image url3:</h2>
|
|
|
|
<p><img src="/images/100px.jpg"></p>
|
2012-03-05 00:24:38 +01:00
|
|
|
|
|
|
|
<h2>Autogenerated tests:</h2>
|
|
|
|
<p>images/100px.jpg</p>
|
|
|
|
<p>/images/100px.jpg</p>
|
|
|
|
<p>../images/100px.jpg</p>
|
|
|
|
<p>../../images/100px.jpg</p>
|
|
|
|
<p>../../../images/100px.jpg</p>
|
|
|
|
<p>http://example.com/images/100px.jpg</p>
|
|
|
|
<p>aimages/100px.jpga</p>
|
|
|
|
<p>1images/100px.jpg1</p>
|
|
|
|
<p>.images/100px.jpg.</p>
|
|
|
|
<p>-images/100px.jpg-</p>
|
|
|
|
<p>_images/100px.jpg_</p>
|
|
|
|
<p>'images/100px.jpg'</p>
|
|
|
|
<p>'/images/100px.jpg'</p>
|
|
|
|
<p>'../images/100px.jpg'</p>
|
|
|
|
<p>'../../images/100px.jpg'</p>
|
|
|
|
<p>'../../../images/100px.jpg'</p>
|
|
|
|
<p>'http://example.com/images/100px.jpg'</p>
|
|
|
|
<p>'aimages/100px.jpga'</p>
|
|
|
|
<p>'1images/100px.jpg1'</p>
|
|
|
|
<p>'.images/100px.jpg.'</p>
|
|
|
|
<p>'-images/100px.jpg-'</p>
|
|
|
|
<p>'_images/100px.jpg_'</p>
|
|
|
|
<p>"images/100px.jpg"</p>
|
|
|
|
<p>"/images/100px.jpg"</p>
|
|
|
|
<p>"../images/100px.jpg"</p>
|
|
|
|
<p>"../../images/100px.jpg"</p>
|
|
|
|
<p>"../../../images/100px.jpg"</p>
|
|
|
|
<p>"http://example.com/images/100px.jpg"</p>
|
|
|
|
<p>"aimages/100px.jpga"</p>
|
|
|
|
<p>"1images/100px.jpg1"</p>
|
|
|
|
<p>".images/100px.jpg."</p>
|
|
|
|
<p>"-images/100px.jpg-"</p>
|
|
|
|
<p>"_images/100px.jpg_"</p>
|
|
|
|
<p><img src=images/100px.jpg /></p>
|
|
|
|
<p><img src=/images/100px.jpg /></p>
|
|
|
|
<p><img src=../images/100px.jpg /></p>
|
|
|
|
<p><img src=../../images/100px.jpg /></p>
|
|
|
|
<p><img src=../../../images/100px.jpg /></p>
|
|
|
|
<p><img src=http://example.com/images/100px.jpg /></p>
|
|
|
|
<p><img src=aimages/100px.jpga /></p>
|
|
|
|
<p><img src=1images/100px.jpg1 /></p>
|
|
|
|
<p><img src=.images/100px.jpg. /></p>
|
|
|
|
<p><img src=-images/100px.jpg- /></p>
|
|
|
|
<p><img src=_images/100px.jpg_ /></p>
|
|
|
|
<p><img src='images/100px.jpg' /></p>
|
|
|
|
<p><img src='/images/100px.jpg' /></p>
|
|
|
|
<p><img src='../images/100px.jpg' /></p>
|
|
|
|
<p><img src='../../images/100px.jpg' /></p>
|
|
|
|
<p><img src='../../../images/100px.jpg' /></p>
|
|
|
|
<p><img src='http://example.com/images/100px.jpg' /></p>
|
|
|
|
<p><img src='aimages/100px.jpga' /></p>
|
|
|
|
<p><img src='1images/100px.jpg1' /></p>
|
|
|
|
<p><img src='.images/100px.jpg.' /></p>
|
|
|
|
<p><img src='-images/100px.jpg-' /></p>
|
|
|
|
<p><img src='_images/100px.jpg_' /></p>
|
|
|
|
<p><img src="images/100px.jpg" /></p>
|
|
|
|
<p><img src="/images/100px.jpg" /></p>
|
|
|
|
<p><img src="../images/100px.jpg" /></p>
|
|
|
|
<p><img src="../../images/100px.jpg" /></p>
|
|
|
|
<p><img src="../../../images/100px.jpg" /></p>
|
|
|
|
<p><img src="http://example.com/images/100px.jpg" /></p>
|
|
|
|
<p><img src="aimages/100px.jpga" /></p>
|
|
|
|
<p><img src="1images/100px.jpg1" /></p>
|
|
|
|
<p><img src=".images/100px.jpg." /></p>
|
|
|
|
<p><img src="-images/100px.jpg-" /></p>
|
|
|
|
<p><img src="_images/100px.jpg_" /></p>
|
|
|
|
<p>background-image:url(images/100px.jpg);</p>
|
|
|
|
<p>background-image:url(/images/100px.jpg);</p>
|
|
|
|
<p>background-image:url(../images/100px.jpg);</p>
|
|
|
|
<p>background-image:url(../../images/100px.jpg);</p>
|
|
|
|
<p>background-image:url(../../../images/100px.jpg);</p>
|
|
|
|
<p>background-image:url(http://example.com/images/100px.jpg);</p>
|
|
|
|
<p>background-image:url(aimages/100px.jpga);</p>
|
|
|
|
<p>background-image:url(1images/100px.jpg1);</p>
|
|
|
|
<p>background-image:url(.images/100px.jpg.);</p>
|
|
|
|
<p>background-image:url(-images/100px.jpg-);</p>
|
|
|
|
<p>background-image:url(_images/100px.jpg_);</p>
|
|
|
|
<p>background-image:url('images/100px.jpg');</p>
|
|
|
|
<p>background-image:url('/images/100px.jpg');</p>
|
|
|
|
<p>background-image:url('../images/100px.jpg');</p>
|
|
|
|
<p>background-image:url('../../images/100px.jpg');</p>
|
|
|
|
<p>background-image:url('../../../images/100px.jpg');</p>
|
|
|
|
<p>background-image:url('http://example.com/images/100px.jpg');</p>
|
|
|
|
<p>background-image:url('aimages/100px.jpga');</p>
|
|
|
|
<p>background-image:url('1images/100px.jpg1');</p>
|
|
|
|
<p>background-image:url('.images/100px.jpg.');</p>
|
|
|
|
<p>background-image:url('-images/100px.jpg-');</p>
|
|
|
|
<p>background-image:url('_images/100px.jpg_');</p>
|
|
|
|
<p>background-image:url("images/100px.jpg");</p>
|
|
|
|
<p>background-image:url("/images/100px.jpg");</p>
|
|
|
|
<p>background-image:url("../images/100px.jpg");</p>
|
|
|
|
<p>background-image:url("../../images/100px.jpg");</p>
|
|
|
|
<p>background-image:url("../../../images/100px.jpg");</p>
|
|
|
|
<p>background-image:url("http://example.com/images/100px.jpg");</p>
|
|
|
|
<p>background-image:url("aimages/100px.jpga");</p>
|
|
|
|
<p>background-image:url("1images/100px.jpg1");</p>
|
|
|
|
<p>background-image:url(".images/100px.jpg.");</p>
|
|
|
|
<p>background-image:url("-images/100px.jpg-");</p>
|
|
|
|
<p>background-image:url("_images/100px.jpg_");</p>
|
|
|
|
<br /><br /><br />
|
|
|
|
<p>images/100px.png</p>
|
|
|
|
<p>/images/100px.png</p>
|
|
|
|
<p>../images/100px.png</p>
|
|
|
|
<p>../../images/100px.png</p>
|
|
|
|
<p>../../../images/100px.png</p>
|
|
|
|
<p>http://example.com/images/100px.png</p>
|
|
|
|
<p>aimages/100px.pnga</p>
|
|
|
|
<p>1images/100px.png1</p>
|
|
|
|
<p>.images/100px.png.</p>
|
|
|
|
<p>-images/100px.png-</p>
|
|
|
|
<p>_images/100px.png_</p>
|
|
|
|
<p>'images/100px.png'</p>
|
|
|
|
<p>'/images/100px.png'</p>
|
|
|
|
<p>'../images/100px.png'</p>
|
|
|
|
<p>'../../images/100px.png'</p>
|
|
|
|
<p>'../../../images/100px.png'</p>
|
|
|
|
<p>'http://example.com/images/100px.png'</p>
|
|
|
|
<p>'aimages/100px.pnga'</p>
|
|
|
|
<p>'1images/100px.png1'</p>
|
|
|
|
<p>'.images/100px.png.'</p>
|
|
|
|
<p>'-images/100px.png-'</p>
|
|
|
|
<p>'_images/100px.png_'</p>
|
|
|
|
<p>"images/100px.png"</p>
|
|
|
|
<p>"/images/100px.png"</p>
|
|
|
|
<p>"../images/100px.png"</p>
|
|
|
|
<p>"../../images/100px.png"</p>
|
|
|
|
<p>"../../../images/100px.png"</p>
|
|
|
|
<p>"http://example.com/images/100px.png"</p>
|
|
|
|
<p>"aimages/100px.pnga"</p>
|
|
|
|
<p>"1images/100px.png1"</p>
|
|
|
|
<p>".images/100px.png."</p>
|
|
|
|
<p>"-images/100px.png-"</p>
|
|
|
|
<p>"_images/100px.png_"</p>
|
|
|
|
<p><img src=images/100px.png /></p>
|
|
|
|
<p><img src=/images/100px.png /></p>
|
|
|
|
<p><img src=../images/100px.png /></p>
|
|
|
|
<p><img src=../../images/100px.png /></p>
|
|
|
|
<p><img src=../../../images/100px.png /></p>
|
|
|
|
<p><img src=http://example.com/images/100px.png /></p>
|
|
|
|
<p><img src=aimages/100px.pnga /></p>
|
|
|
|
<p><img src=1images/100px.png1 /></p>
|
|
|
|
<p><img src=.images/100px.png. /></p>
|
|
|
|
<p><img src=-images/100px.png- /></p>
|
|
|
|
<p><img src=_images/100px.png_ /></p>
|
|
|
|
<p><img src='images/100px.png' /></p>
|
|
|
|
<p><img src='/images/100px.png' /></p>
|
|
|
|
<p><img src='../images/100px.png' /></p>
|
|
|
|
<p><img src='../../images/100px.png' /></p>
|
|
|
|
<p><img src='../../../images/100px.png' /></p>
|
|
|
|
<p><img src='http://example.com/images/100px.png' /></p>
|
|
|
|
<p><img src='aimages/100px.pnga' /></p>
|
|
|
|
<p><img src='1images/100px.png1' /></p>
|
|
|
|
<p><img src='.images/100px.png.' /></p>
|
|
|
|
<p><img src='-images/100px.png-' /></p>
|
|
|
|
<p><img src='_images/100px.png_' /></p>
|
|
|
|
<p><img src="images/100px.png" /></p>
|
|
|
|
<p><img src="/images/100px.png" /></p>
|
|
|
|
<p><img src="../images/100px.png" /></p>
|
|
|
|
<p><img src="../../images/100px.png" /></p>
|
|
|
|
<p><img src="../../../images/100px.png" /></p>
|
|
|
|
<p><img src="http://example.com/images/100px.png" /></p>
|
|
|
|
<p><img src="aimages/100px.pnga" /></p>
|
|
|
|
<p><img src="1images/100px.png1" /></p>
|
|
|
|
<p><img src=".images/100px.png." /></p>
|
|
|
|
<p><img src="-images/100px.png-" /></p>
|
|
|
|
<p><img src="_images/100px.png_" /></p>
|
|
|
|
<p>background-image:url(images/100px.png);</p>
|
|
|
|
<p>background-image:url(/images/100px.png);</p>
|
|
|
|
<p>background-image:url(../images/100px.png);</p>
|
|
|
|
<p>background-image:url(../../images/100px.png);</p>
|
|
|
|
<p>background-image:url(../../../images/100px.png);</p>
|
|
|
|
<p>background-image:url(http://example.com/images/100px.png);</p>
|
|
|
|
<p>background-image:url(aimages/100px.pnga);</p>
|
|
|
|
<p>background-image:url(1images/100px.png1);</p>
|
|
|
|
<p>background-image:url(.images/100px.png.);</p>
|
|
|
|
<p>background-image:url(-images/100px.png-);</p>
|
|
|
|
<p>background-image:url(_images/100px.png_);</p>
|
|
|
|
<p>background-image:url('images/100px.png');</p>
|
|
|
|
<p>background-image:url('/images/100px.png');</p>
|
|
|
|
<p>background-image:url('../images/100px.png');</p>
|
|
|
|
<p>background-image:url('../../images/100px.png');</p>
|
|
|
|
<p>background-image:url('../../../images/100px.png');</p>
|
|
|
|
<p>background-image:url('http://example.com/images/100px.png');</p>
|
|
|
|
<p>background-image:url('aimages/100px.pnga');</p>
|
|
|
|
<p>background-image:url('1images/100px.png1');</p>
|
|
|
|
<p>background-image:url('.images/100px.png.');</p>
|
|
|
|
<p>background-image:url('-images/100px.png-');</p>
|
|
|
|
<p>background-image:url('_images/100px.png_');</p>
|
|
|
|
<p>background-image:url("images/100px.png");</p>
|
|
|
|
<p>background-image:url("/images/100px.png");</p>
|
|
|
|
<p>background-image:url("../images/100px.png");</p>
|
|
|
|
<p>background-image:url("../../images/100px.png");</p>
|
|
|
|
<p>background-image:url("../../../images/100px.png");</p>
|
|
|
|
<p>background-image:url("http://example.com/images/100px.png");</p>
|
|
|
|
<p>background-image:url("aimages/100px.pnga");</p>
|
|
|
|
<p>background-image:url("1images/100px.png1");</p>
|
|
|
|
<p>background-image:url(".images/100px.png.");</p>
|
|
|
|
<p>background-image:url("-images/100px.png-");</p>
|
|
|
|
<p>background-image:url("_images/100px.png_");</p>
|
|
|
|
<br /><br /><br />
|
|
|
|
<p>images/100px.gif</p>
|
|
|
|
<p>/images/100px.gif</p>
|
|
|
|
<p>../images/100px.gif</p>
|
|
|
|
<p>../../images/100px.gif</p>
|
|
|
|
<p>../../../images/100px.gif</p>
|
|
|
|
<p>http://example.com/images/100px.gif</p>
|
|
|
|
<p>aimages/100px.gifa</p>
|
|
|
|
<p>1images/100px.gif1</p>
|
|
|
|
<p>.images/100px.gif.</p>
|
|
|
|
<p>-images/100px.gif-</p>
|
|
|
|
<p>_images/100px.gif_</p>
|
|
|
|
<p>'images/100px.gif'</p>
|
|
|
|
<p>'/images/100px.gif'</p>
|
|
|
|
<p>'../images/100px.gif'</p>
|
|
|
|
<p>'../../images/100px.gif'</p>
|
|
|
|
<p>'../../../images/100px.gif'</p>
|
|
|
|
<p>'http://example.com/images/100px.gif'</p>
|
|
|
|
<p>'aimages/100px.gifa'</p>
|
|
|
|
<p>'1images/100px.gif1'</p>
|
|
|
|
<p>'.images/100px.gif.'</p>
|
|
|
|
<p>'-images/100px.gif-'</p>
|
|
|
|
<p>'_images/100px.gif_'</p>
|
|
|
|
<p>"images/100px.gif"</p>
|
|
|
|
<p>"/images/100px.gif"</p>
|
|
|
|
<p>"../images/100px.gif"</p>
|
|
|
|
<p>"../../images/100px.gif"</p>
|
|
|
|
<p>"../../../images/100px.gif"</p>
|
|
|
|
<p>"http://example.com/images/100px.gif"</p>
|
|
|
|
<p>"aimages/100px.gifa"</p>
|
|
|
|
<p>"1images/100px.gif1"</p>
|
|
|
|
<p>".images/100px.gif."</p>
|
|
|
|
<p>"-images/100px.gif-"</p>
|
|
|
|
<p>"_images/100px.gif_"</p>
|
|
|
|
<p><img src=images/100px.gif /></p>
|
|
|
|
<p><img src=/images/100px.gif /></p>
|
|
|
|
<p><img src=../images/100px.gif /></p>
|
|
|
|
<p><img src=../../images/100px.gif /></p>
|
|
|
|
<p><img src=../../../images/100px.gif /></p>
|
|
|
|
<p><img src=http://example.com/images/100px.gif /></p>
|
|
|
|
<p><img src=aimages/100px.gifa /></p>
|
|
|
|
<p><img src=1images/100px.gif1 /></p>
|
|
|
|
<p><img src=.images/100px.gif. /></p>
|
|
|
|
<p><img src=-images/100px.gif- /></p>
|
|
|
|
<p><img src=_images/100px.gif_ /></p>
|
|
|
|
<p><img src='images/100px.gif' /></p>
|
|
|
|
<p><img src='/images/100px.gif' /></p>
|
|
|
|
<p><img src='../images/100px.gif' /></p>
|
|
|
|
<p><img src='../../images/100px.gif' /></p>
|
|
|
|
<p><img src='../../../images/100px.gif' /></p>
|
|
|
|
<p><img src='http://example.com/images/100px.gif' /></p>
|
|
|
|
<p><img src='aimages/100px.gifa' /></p>
|
|
|
|
<p><img src='1images/100px.gif1' /></p>
|
|
|
|
<p><img src='.images/100px.gif.' /></p>
|
|
|
|
<p><img src='-images/100px.gif-' /></p>
|
|
|
|
<p><img src='_images/100px.gif_' /></p>
|
|
|
|
<p><img src="images/100px.gif" /></p>
|
|
|
|
<p><img src="/images/100px.gif" /></p>
|
|
|
|
<p><img src="../images/100px.gif" /></p>
|
|
|
|
<p><img src="../../images/100px.gif" /></p>
|
|
|
|
<p><img src="../../../images/100px.gif" /></p>
|
|
|
|
<p><img src="http://example.com/images/100px.gif" /></p>
|
|
|
|
<p><img src="aimages/100px.gifa" /></p>
|
|
|
|
<p><img src="1images/100px.gif1" /></p>
|
|
|
|
<p><img src=".images/100px.gif." /></p>
|
|
|
|
<p><img src="-images/100px.gif-" /></p>
|
|
|
|
<p><img src="_images/100px.gif_" /></p>
|
|
|
|
<p>background-image:url(images/100px.gif);</p>
|
|
|
|
<p>background-image:url(/images/100px.gif);</p>
|
|
|
|
<p>background-image:url(../images/100px.gif);</p>
|
|
|
|
<p>background-image:url(../../images/100px.gif);</p>
|
|
|
|
<p>background-image:url(../../../images/100px.gif);</p>
|
|
|
|
<p>background-image:url(http://example.com/images/100px.gif);</p>
|
|
|
|
<p>background-image:url(aimages/100px.gifa);</p>
|
|
|
|
<p>background-image:url(1images/100px.gif1);</p>
|
|
|
|
<p>background-image:url(.images/100px.gif.);</p>
|
|
|
|
<p>background-image:url(-images/100px.gif-);</p>
|
|
|
|
<p>background-image:url(_images/100px.gif_);</p>
|
|
|
|
<p>background-image:url('images/100px.gif');</p>
|
|
|
|
<p>background-image:url('/images/100px.gif');</p>
|
|
|
|
<p>background-image:url('../images/100px.gif');</p>
|
|
|
|
<p>background-image:url('../../images/100px.gif');</p>
|
|
|
|
<p>background-image:url('../../../images/100px.gif');</p>
|
|
|
|
<p>background-image:url('http://example.com/images/100px.gif');</p>
|
|
|
|
<p>background-image:url('aimages/100px.gifa');</p>
|
|
|
|
<p>background-image:url('1images/100px.gif1');</p>
|
|
|
|
<p>background-image:url('.images/100px.gif.');</p>
|
|
|
|
<p>background-image:url('-images/100px.gif-');</p>
|
|
|
|
<p>background-image:url('_images/100px.gif_');</p>
|
|
|
|
<p>background-image:url("images/100px.gif");</p>
|
|
|
|
<p>background-image:url("/images/100px.gif");</p>
|
|
|
|
<p>background-image:url("../images/100px.gif");</p>
|
|
|
|
<p>background-image:url("../../images/100px.gif");</p>
|
|
|
|
<p>background-image:url("../../../images/100px.gif");</p>
|
|
|
|
<p>background-image:url("http://example.com/images/100px.gif");</p>
|
|
|
|
<p>background-image:url("aimages/100px.gifa");</p>
|
|
|
|
<p>background-image:url("1images/100px.gif1");</p>
|
|
|
|
<p>background-image:url(".images/100px.gif.");</p>
|
|
|
|
<p>background-image:url("-images/100px.gif-");</p>
|
|
|
|
<p>background-image:url("_images/100px.gif_");</p>
|
|
|
|
<br /><br /><br />
|