Kaynağa Gözat

Remove a spurious .z from microdesc fetch URLs so they no logner end with .z.z

Nick Mathewson 15 yıl önce
ebeveyn
işleme
d0f1f9ce9e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/or/directory.c

+ 1 - 1
src/or/directory.c

@@ -1157,7 +1157,7 @@ directory_send_command(dir_connection_t *conn,
     case DIR_PURPOSE_FETCH_MICRODESC:
       tor_assert(resource);
       httpcommand = "GET";
-      tor_asprintf(&url, "/tor/micro/%s.z", resource);
+      tor_asprintf(&url, "/tor/micro/%s", resource);
       break;
     case DIR_PURPOSE_UPLOAD_DIR:
       tor_assert(!resource);