<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Validation of local urls</title>
	<atom:link href="http://cakebaker.42dh.com/2009/01/28/validation-of-local-urls/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2009/01/28/validation-of-local-urls/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:12:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2009/01/28/validation-of-local-urls/comment-page-1/#comment-118905</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Thu, 29 Jan 2009 17:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1078#comment-118905</guid>
		<description>@all: Thanks for your comments!

@Mark: It seems like Dirk already fixed the links, at least now they work ;-)  Only the NoseRub blog is currently offline as it got &quot;hacked&quot; yesterday... It will be back soon. Anyway, thanks for the heads up!

@Siegfried: No problem, it is good to have a German CakePHP blog :)

@David: Thanks for this hint. I think the &quot;problem&quot; is that something like http://. is in fact a valid url. So in practice you probably have to perform some additional checks to ensure a stricter url format...</description>
		<content:encoded><![CDATA[<p>@all: Thanks for your comments!</p>
<p>@Mark: It seems like Dirk already fixed the links, at least now they work ;-)  Only the NoseRub blog is currently offline as it got &#8220;hacked&#8221; yesterday&#8230; It will be back soon. Anyway, thanks for the heads up!</p>
<p>@Siegfried: No problem, it is good to have a German CakePHP blog :)</p>
<p>@David: Thanks for this hint. I think the &#8220;problem&#8221; is that something like http://. is in fact a valid url. So in practice you probably have to perform some additional checks to ensure a stricter url format&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Thalmann</title>
		<link>http://cakebaker.42dh.com/2009/01/28/validation-of-local-urls/comment-page-1/#comment-118879</link>
		<dc:creator>David Thalmann</dc:creator>
		<pubDate>Thu, 29 Jan 2009 11:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1078#comment-118879</guid>
		<description>Never heard of the function filter_var() function, thanx for your post! But just saw this:

&quot;It seems that all FILTER_VALIDATE_URL is doing is calling parse_url(), which makes it effectively useless since parse_url() only fails on really malformed urls.

&lt;code&gt;&lt;?php
$url = &#039;http://...&#039;;

var_dump(filter_var($url, FILTER_VALIDATE_URL));
?&gt;&lt;/code&gt;

Will display: string(10) &quot;http://...&quot;

None of the flags help either, so you&#039;re better off with regular expressions to validate a url.&quot; From http://us3.php.net/manual/en/ref.filter.php#79412</description>
		<content:encoded><![CDATA[<p>Never heard of the function filter_var() function, thanx for your post! But just saw this:</p>
<p>&#8220;It seems that all FILTER_VALIDATE_URL is doing is calling parse_url(), which makes it effectively useless since parse_url() only fails on really malformed urls.</p>
<pre><code>&lt;?php
$url = 'http://...';

var_dump(filter_var($url, FILTER_VALIDATE_URL));
?&gt;</code></pre>
<p>Will display: string(10) &#8220;http://&#8230;&#8221;</p>
<p>None of the flags help either, so you&#8217;re better off with regular expressions to validate a url.&#8221; From <a href="http://us3.php.net/manual/en/ref.filter.php#79412" rel="nofollow">http://us3.php.net/manual/en/ref.filter.php#79412</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siegfried</title>
		<link>http://cakebaker.42dh.com/2009/01/28/validation-of-local-urls/comment-page-1/#comment-118814</link>
		<dc:creator>Siegfried</dc:creator>
		<pubDate>Wed, 28 Jan 2009 19:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1078#comment-118814</guid>
		<description>HeyDaniel, thanks a lot for linking. My openID questions are not forgotten but a little bit postponed. Will contact you again.</description>
		<content:encoded><![CDATA[<p>HeyDaniel, thanks a lot for linking. My openID questions are not forgotten but a little bit postponed. Will contact you again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Story</title>
		<link>http://cakebaker.42dh.com/2009/01/28/validation-of-local-urls/comment-page-1/#comment-118813</link>
		<dc:creator>Mark Story</dc:creator>
		<pubDate>Wed, 28 Jan 2009 19:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1078#comment-118813</guid>
		<description>hey daniel, just a heads up, many of the links on noserub.com are broken.

http://noserub.com/tour/
http://noserub.com/discuss/
http://noserub.com/contribute/

all aren&#039;t working for me.</description>
		<content:encoded><![CDATA[<p>hey daniel, just a heads up, many of the links on noserub.com are broken.</p>
<p><a href="http://noserub.com/tour/" rel="nofollow">http://noserub.com/tour/</a><br />
<a href="http://noserub.com/discuss/" rel="nofollow">http://noserub.com/discuss/</a><br />
<a href="http://noserub.com/contribute/" rel="nofollow">http://noserub.com/contribute/</a></p>
<p>all aren&#8217;t working for me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

