pauljohncleary / oatmail

A webmail app that sits on the tent protocol
https://oatmail.io
19 stars 2 forks source link

Update regex to match http and https entities #1

Closed Cacauu closed 10 years ago

Cacauu commented 10 years ago

There's no rule or something that Tent entities have to be https so you should check whether they are http or https. I updated the regex to do just that (also updated some comments to show what the new code is doing).