summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/weepinbell/receiver.clj3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/weepinbell/receiver.clj b/src/weepinbell/receiver.clj
index a2cd79f..50aab6a 100644
--- a/src/weepinbell/receiver.clj
+++ b/src/weepinbell/receiver.clj
@@ -19,6 +19,9 @@
;; The receiver MUST check that source and target are valid URLs [URL]
;; and are of schemes that are supported by the receiver.
(validate-urls s t)
+ ;; The receiver MUST reject the request
+ ;; if the source URL is the same as the target URL.
+ (not (= s t))
#_(validate-source s)
#_(validate-target t)))