Skip to content
Browse files

Corrected #72.

  • Loading branch information...
1 parent 2994d81 commit 92f7a9ba5805f03c2551d3e2eb0f2bf975416c6f @codyrobbins committed Nov 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/redcarpet/autolink.c
View
4 ext/redcarpet/autolink.c
@@ -24,9 +24,9 @@
int
sd_autolink_issafe(const uint8_t *link, size_t link_len)
{
- static const size_t valid_uris_count = 4;
+ static const size_t valid_uris_count = 5;
static const char *valid_uris[] = {
- "http://", "https://", "ftp://", "mailto:"
+ "/", "http://", "https://", "ftp://", "mailto:"
};
size_t i;

0 comments on commit 92f7a9b

Please sign in to comment.
Something went wrong with that request. Please try again.