Soks email addresses with a ’-’ in the adressee are not linked properly
Copied from Email on Thu, 26 May 2005 15:35:12 +0100 from Tom Counsell (tamc2@cam.ac.uk)
Yep. Its a bug in soks (always a safe first assumption). The regexp
is in in the soks-view.rb WikiRedCloth class in the text.gsub!(/[A-Za-
z0-9.]+?@[A-Za-z0-9.]*[A-Za-z]/) { |m| link( "mailto:#{m}", m) }
line. I will try and improve it, but in the meantime Why's
workaround works. Tom
On 26 May 2005, at 14:03, Bil.Kleb@NASA.gov wrote:
> FYI, One of our Soks wiki users recently got the following
> from RedCloth (Why) ...
>
> Regards,
> --
> Bil Kleb
> http://fun3d.larc.nasa.gov
>
> noreply@rubyforge.org wrote:
>
>> Bugs item #1640, was opened at 2005-03-17 08:20
>> You can respond by visiting: http://rubyforge.org/tracker/?
>> func=detail&atid‰1&aid40&group_id!6
>>
>>
>>
>>> Category: Parser
>>> Group: v3.0
>>>
>>>
>> Status: Open
>>
>>
>>> Resolution: Rejected
>>>
>>>
>> Priority: 3
>> Submitted By: Nobody (None)
>> Assigned to: Nobody (None)
>> Summary: email addresses with a '-' in the adressee are not linked
>> properly to a 'mailto:first-second@somewhere.com'
>>
>> Initial Comment:
>> the email address
>>
>> first-second@somewhere.com
>> results in the link
>>
>> mailto:second@somewhere.com
>>
>> I could find no way to force the full email address to be used.
>>
>> ---------------------------------------------------------------------
>> -
>>
>>
>>
>>> Comment By: why the lucky stiff (why)
>>>
>>>
>> Date: 2005-05-25 14:16
>>
>> Message:
>> Hmm. I don't think this is a RedCloth bug. First, RedCloth
>> doesn't convert e-mail addresses into mailto links. Second, this
>> works:
>>
>> My "e-mail":mailto:first-second@somewhere.com is.
>>
>> Are you using RedCloth with a software (like Instiki) that might
>> be linking the e-mail addresses automatically?
>>
>> ---------------------------------------------------------------------
>> -
>>
>> Comment By: Nobody (None)
>> Date: 2005-03-17 08:21
>>
>> Message:
>> Logged In: NO
>> I missed putting in my info....
>>
>> Karen Bibb
>> karen.l.bibb@nasa.gov
>>
>> ---------------------------------------------------------------------
>> -
>>
>> You can respond by visiting: http://rubyforge.org/tracker/?
>> func=detail&atid‰1&aid40&group_id!6
>>
>>
> _______________________________________________
> Soks-discuss mailing list
> Soks-discuss@rubyforge.org
> http://rubyforge.org/mailman/listinfo/soks-discuss
>
_______________________________________________
Soks-discuss mailing list
Soks-discuss@rubyforge.org
http://rubyforge.org/mailman/listinfo/soks-discuss
Edit this page or
watch for changes using RSS.