Removed URL Encoding/Decoding from Paste

This commit is contained in:
Auxilor
2021-11-16 09:25:37 +00:00
parent 8721f96a2f
commit 43157b154a

View File

@@ -10,7 +10,6 @@ import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLDecoder;
import java.nio.charset.StandardCharsets;
import java.util.function.Consumer;
@@ -95,7 +94,7 @@ public class Paste {
result.append(line);
}
}
return new Paste(URLDecoder.decode(result.toString(), StandardCharsets.UTF_8));
return new Paste(result.toString());
} catch (IOException e) {
e.printStackTrace();
}