This project is archived and is in readonly mode.
auto_link helper fails to parse some URLs with brackets
Reported by Rich | November 11th, 2008 @ 03:57 AM | in 2.x
Found another URL that auto_link was failing on:
http://connect.oraclecorp.com/se...[q]=green+france&search[type]=Group
Anyway, fixed. Patch attached.
Comments and changes to this ticket
-
Rich November 11th, 2008 @ 04:59 AM
After testing some more, I noticed that with or without this patch, a URL like the following gets parsed improperly. Check out the pastie.
I'll put in a separate ticket.
Rich
-
Repository November 15th, 2008 @ 05:31 PM
- State changed from new to committed
(from [4f984c9d0e66601a81cb5ae6e3b50582e6dc0c2d]) auto_link helper: add intelligent ending closing bracket handling. add new tests and reorder new ones for readability
Signed-off-by: Michael Koziarski michael@koziarski.com [#1353 state:committed] http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 3035 auto_link in text_helper.rb doesn't handle some gmail URLS Michael, my apologies if you're not actually responsible,...
- 1151 auto_link anchor's error of module TextHelper fixed by #1353
- 1148 Make auto_link_urls accept commas in the querystring of URLs fixed by #1353
- 1353 auto_link helper fails to parse some URLs with brackets Signed-off-by: Michael Koziarski michael@koziarski.com [#...