chiark / gitweb /
Treat .dsc as bytes, just like everything else, rather than letting HTTP::Message...
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 8517c8a..4125c37 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -318,7 +318,7 @@ sub url_get {
     my $r = $ua->get(@_) or die $!;
     return undef if $r->code == 404;
     $r->is_success or fail "failed to fetch $what: ".$r->status_line;
-    return $r->decoded_content();
+    return $r->decoded_content(charset => 'none');
 }
 
 our ($dscdata,$dscurl,$dsc,$dsc_checked,$skew_warning_vsn);