<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Thanks for the feedback nitro322. Let me explain why I don't think your examples should be updated:


&lt;blockquote&gt;link: http://www.evilsite.net/
text: www.goodsite.net&lt;/blockquote&gt;

Technically, &quot;www.goodsite.net&quot; is not an URL. I don't trust that to begin with ;-). We could scan for text that begins with 'www', but the next thing would be to include 'secure', 'images', etc. What about this?

link: http://evilsite.com/
text: goodsite.com

As you can see, it's getting tricky.

&lt;blockquote&gt;link: http://www.evilsite.net/
text: goodpage.html&lt;/blockquote&gt;

See above. This URL is not really trying to trick you that much. Following this example (and taking it to extremes) this would be incorrect too:

link: http://www.evilsite.com/contact.html
text: faq

&lt;blockquote&gt;link: http://www.goodsite.net/evilpage
text: http://www.goodsite.net/&lt;/blockquote&gt;

The same thing as above applies here. This isn't really a fishing attempt. We're on the same domain, so the least we can do is trust the server. The &quot;evilpage&quot; shouldn't be on the &quot;goodsite.net&quot; to begin with ;-)</body>
  <body-html>&lt;p&gt;Thanks for the feedback nitro322. Let me explain why I don't think your examples should be updated:&lt;/p&gt;

&lt;p&gt;&lt;blockquote&gt;link: &lt;a href=&quot;http://www.evilsite.net/&quot;&gt;http://www.evilsite.net/&lt;/a&gt;
&lt;br /&gt;text: &lt;a href=&quot;http://www.goodsite.net&quot;&gt;www.goodsite.net&lt;/a&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;Technically, &quot;www.goodsite.net&quot; is not an URL. I don't trust that to begin with ;-). We could scan for text that begins with 'www', but the next thing would be to include 'secure', 'images', etc. What about this?&lt;/p&gt;

&lt;p&gt;link: &lt;a href=&quot;http://evilsite.com/&quot;&gt;http://evilsite.com/&lt;/a&gt;
&lt;br /&gt;text: goodsite.com&lt;/p&gt;

&lt;p&gt;As you can see, it's getting tricky.&lt;/p&gt;

&lt;p&gt;&lt;blockquote&gt;link: &lt;a href=&quot;http://www.evilsite.net/&quot;&gt;http://www.evilsite.net/&lt;/a&gt;
&lt;br /&gt;text: goodpage.html&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;See above. This URL is not really trying to trick you that much. Following this example (and taking it to extremes) this would be incorrect too:&lt;/p&gt;

&lt;p&gt;link: &lt;a href=&quot;http://www.evilsite.com/contact.html&quot;&gt;http://www.evilsite.com/contact.html&lt;/a&gt;
&lt;br /&gt;text: faq&lt;/p&gt;

&lt;p&gt;&lt;blockquote&gt;link: &lt;a href=&quot;http://www.goodsite.net/evilpage&quot;&gt;http://www.goodsite.net/evilpage&lt;/a&gt;
&lt;br /&gt;text: &lt;a href=&quot;http://www.goodsite.net/&quot;&gt;http://www.goodsite.net/&lt;/a&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;The same thing as above applies here. This isn't really a fishing attempt. We're on the same domain, so the least we can do is trust the server. The &quot;evilpage&quot; shouldn't be on the &quot;goodsite.net&quot; to begin with ;-)&lt;/p&gt;</body-html>
  <created-at type="datetime">2007-03-09T20:19:44Z</created-at>
  <forumable-id type="integer">1913</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">18006</id>
  <topic-id type="integer">9745</topic-id>
  <updated-at type="datetime">2008-11-16T23:23:13Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">1408</user-id>
</post>
