[Feature][S300][task-view-993][webui] Resolve the issue of Firefox browser unable to remove line endings when uploading files

Change-Id: I42d5160cbd00e7bdcae4426891dc13053a669e03
diff --git a/lynq/CPE_COMMON/ap/app/cgi/cgi.c b/lynq/CPE_COMMON/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/CPE_COMMON/ap/app/cgi/cgi.c
+++ b/lynq/CPE_COMMON/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/CPE_TELKOMSEL/ap/app/cgi/cgi.c b/lynq/CPE_TELKOMSEL/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/CPE_TELKOMSEL/ap/app/cgi/cgi.c
+++ b/lynq/CPE_TELKOMSEL/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/MD310/ap/app/cgi/cgi.c b/lynq/MD310/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/MD310/ap/app/cgi/cgi.c
+++ b/lynq/MD310/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/MD310EU/ap/app/cgi/cgi.c b/lynq/MD310EU/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/MD310EU/ap/app/cgi/cgi.c
+++ b/lynq/MD310EU/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/R305/ap/app/cgi/cgi.c b/lynq/R305/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/R305/ap/app/cgi/cgi.c
+++ b/lynq/R305/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/R306/ap/app/cgi/cgi.c b/lynq/R306/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/R306/ap/app/cgi/cgi.c
+++ b/lynq/R306/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/R306BR/ap/app/cgi/cgi.c b/lynq/R306BR/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/R306BR/ap/app/cgi/cgi.c
+++ b/lynq/R306BR/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/R306_MTN/ap/app/cgi/cgi.c b/lynq/R306_MTN/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/R306_MTN/ap/app/cgi/cgi.c
+++ b/lynq/R306_MTN/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/R307/ap/app/cgi/cgi.c b/lynq/R307/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/R307/ap/app/cgi/cgi.c
+++ b/lynq/R307/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/R307L/ap/app/cgi/cgi.c b/lynq/R307L/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/R307L/ap/app/cgi/cgi.c
+++ b/lynq/R307L/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/S300/ap/app/cgi/cgi.c b/lynq/S300/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/S300/ap/app/cgi/cgi.c
+++ b/lynq/S300/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/S300_AIC/ap/app/cgi/cgi.c b/lynq/S300_AIC/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/S300_AIC/ap/app/cgi/cgi.c
+++ b/lynq/S300_AIC/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file

diff --git a/lynq/S300_COMMON/ap/app/cgi/cgi.c b/lynq/S300_COMMON/ap/app/cgi/cgi.c
index b026367..5f56ca5 100755
--- a/lynq/S300_COMMON/ap/app/cgi/cgi.c
+++ b/lynq/S300_COMMON/ap/app/cgi/cgi.c
@@ -97,7 +97,7 @@
     int source_fd = -1; // Source file descriptor

     char *content_start_ptr = NULL;

     int content_start = 0;

-    const char *boundary_marker = "\r\n------WebKitFormBoundary"; // Boundary marker

+    const char *boundary_marker = "\r\n------"; // Boundary marker

     int boundary_marker_len = strlen(boundary_marker);

 

     // Open the target file