Support URL with sftp protocol

Started by photon, September 28, 2010, 11:05:52 AM

Previous topic - Next topic

photon

Now it recognizes sftp:// urls like ftp:// with s in front of it.

alex

#1
Because now something like this sftp://www.news.com is not recognized as URL in text and not underlined as ftp://www.news.com fex, I assume, you want to have it also to be treated as URL.

This can be achieved by changing definition of URL style in def_spec.xml. Just add this:
         <Block open="sftp://">
           <Close noneof="0-9A-Za-z_--:?/.,~=@%&amp;;+*\#"/>
         </Block>

under same ftp block. Should work.

I will also update default (installable) syntax schema, so your changes will not be lost.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]