patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9548, Add .json to list of SSI file...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9548: Add .json to list of SSI file extensions

Submitter:  Mike Kleshov <kleshov>
Submitted:  Mon 22 Jan 2018 12:59:57 PM UTC
   
 
Category:  apps Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Mon 22 Jan 2018 06:49:28 PM UTC, comment #1: 

Pushed, thanks for the patch.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 22 Jan 2018 12:59:57 PM UTC, original submission:  


diff --git a/src/apps/httpd/httpd_structs.h b/src/apps/httpd/httpd_structs.h
index 590af4b7..137f8e91 100644
--- a/src/apps/httpd/httpd_structs.h
+++ b/src/apps/httpd/httpd_structs.h
@@ -115,7 +115,7 @@ static const tHTTPHeader g_psHTTPHeaders[] = {
 
 #if LWIP_HTTPD_SSI
 static const char *const g_pcSSIExtensions[] = {
-  ".shtml", ".shtm", ".ssi", ".xml"
+  ".shtml", ".shtm", ".ssi", ".xml", ".json"
 };
 #define NUM_SHTML_EXTENSIONS LWIP_ARRAYSIZE(g_pcSSIExtensions)
 #endif /* LWIP_HTTPD_SSI */

Mike Kleshov <kleshov>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by kleshov (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-22 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code