diff --git a/sigServer.java b/sigServer.java index d62e09d..1b50ae7 100644 --- a/sigServer.java +++ b/sigServer.java @@ -157,7 +157,7 @@ public class sigServer { } if (line.contains("Content-Type:")) { if (line.contains("Content-Type: multipart/form-data; boundary=")) { - boundary="--"+line.substring("Content-Type: multipart/form-data; boundary=".length()); + boundary=line.substring("Content-Type: multipart/form-data; boundary=".length()); } else if (line.contains("application/json")){ isApplication=true; diff --git a/test.html b/test.html new file mode 100644 index 0000000..bb04c7c --- /dev/null +++ b/test.html @@ -0,0 +1,7 @@ +
+

+

+

+

+

+ \ No newline at end of file