Closed (duplicate)
Project:
Drupal core
Version:
6.26
Component:
filter.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2012 at 09:15 UTC
Updated:
21 Jul 2012 at 00:30 UTC
Probably it's some duplicate, but...
Some of the links to API haven't got converted to proper links.
Example:
http://api.drupal.org/api/drupal/includes!database!database.inc/constant...
Working examples:
http://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%2...
http://api.drupal.org/api/drupal/includes%21database%21database.inc/cons...
http://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%2...
Comments
Comment #1
kingandyCan 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
Comment #2
kingandyYeah, looks like it's passing on URLs with exclamation marks inside them.
Comment #3
kenorb commentedI 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.
Comment #4
kingandyThe 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?
Comment #5
kingandy(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.)
Comment #6
Drave Robber commentedSomewhat related issue: #550464: Web page addresses and e-mail addresses DO NOT turn into links if they contain non-English characters
Comment #7
Drave Robber commentedAnd on further search, this is a duplicate of #1480992: URLs containing a '!' separator are not formatted as links.