~tsileo/entries.pub

04ebbd759dbbab368b53a6b23721024379442529 — Thomas Sileo 1 year, 7 months ago 5373975 master
Fix pattern matching for webmentions
1 files changed, 3 insertions(+), 3 deletions(-)

M bin/app.ml
M bin/app.ml => bin/app.ml +3 -3
@@ 391,9 391,9 @@ let process_incoming_webmention dat =
              raise
                (Webmention.Error_invalid_request "target not found in source")
        | None ->
            raise (Webmention.Error_invalid_request "unreachable source")
        | None ->
            raise (Webmention.Error_invalid_request "invalid target") )
            raise (Webmention.Error_invalid_request "unreachable source") )
    | None ->
        raise (Webmention.Error_invalid_request "invalid target")


(* POST Micropub endpoint *)