Comments

kingandy’s picture

Can you expand on "haven't got converted to proper links"? If I read this right, the issue is more about Drupal.org's URL-to-link filter than a.d.o's link formatting.

Filter tests:
http://drupal.org
http://drupal.org!
http://drupal.org/!
http://drupal.org/home!link
http://drupal.org/home?what!link

kingandy’s picture

Yeah, looks like it's passing on URLs with exclamation marks inside them.

kenorb’s picture

I didn't edit those URLs.
Those URLs are indexed by Google.

1. Type in Google i.e.:
Database::openConnection
or:
includes!database!database.inc
2. Click on the link with exclamation mark, i.e.
http://api.drupal.org/api/drupal/includes!database!database.inc/function...
and then paste it here.

kingandy’s picture

Project: Drupal.org site moderators » Drupal core
Version: » 6.26
Component: API.drupal.org » filter.module

The URL is fine, Google is correctly interpreting %21 as the ! character. The problem is, after you paste it into a Drupal content area, the "Web page addresses ... turn into links automatically" filter is not recognising it as a web page address because there is an exclamation mark in it.

Moving this over to the filter.module queue. For what it's worth, this appears to have been fixed in Drupal 7.x ... I don't know if this warrants a backport?

kingandy’s picture

(Guessing on version number, I have no idea what's actually installed on d.org but I'm assuming it's kept up to date.)

Drave Robber’s picture

Status: Active » Closed (duplicate)

And on further search, this is a duplicate of #1480992: URLs containing a '!' separator are not formatted as links.