diff options
-rw-r--r-- | librdfa/curie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librdfa/curie.c b/librdfa/curie.c index 704f6b5a..98ee7e0a 100644 --- a/librdfa/curie.c +++ b/librdfa/curie.c @@ -308,7 +308,7 @@ char* rdfa_resolve_uri(rdfacontext* context, const char* uri) sptr++; } - else if(sptr[0] == '.' && sptr[1] == '.' && sptr[1] == '\0') + else if(sptr[0] == '.' && sptr[1] == '.' && sptr[2] == '\0') { /* D. if the input buffer consists only of "..", then remove * that from the input buffer; otherwise, |