Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
v1.7.5 to fix decoding error bug
Browse files Browse the repository at this point in the history
### Releases v1.7.5

1. Fix decoding error bug when using special `&` in data fields. Check [Decoding Error. two times called urlDecode in Parsing-impl.h. #17](khoih-prog/WiFiWebServer#17)
2. Update `Packages' Patches`
  • Loading branch information
khoih-prog committed Mar 3, 2022
1 parent ebb02eb commit 13057e1
Show file tree
Hide file tree
Showing 26 changed files with 82 additions and 264 deletions.
13 changes: 3 additions & 10 deletions src/EthernetHttpClient_SSL.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,19 @@
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL
Licensed under MIT license
Version: 1.7.4
Version: 1.7.5
Version Modified By Date Comments
------- ----------- ---------- -----------
1.1.0 K Hoang 14/11/2020 Initial coding for SAMD21/SAMD51, nRF52, SAM DUE to support Ethernet shields using SSL.
Supporting W5x00 using Ethernetx, ENC28J60 using EthernetENC and UIPEthernet libraries
1.1.1 K Hoang 18/11/2020 Permit sites with "Chain could not be linked to a trust anchor" such as ThingStream
1.1.2 K Hoang 19/11/2020 Add SSL debug feature. Enhance examples.
1.2.0 K Hoang 20/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
1.3.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
1.3.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
1.4.0 K Hoang 13/05/2021 Add support to RP2040-based boards using Arduino mbed_rp2040 core
1.5.0 K Hoang 15/05/2021 Add support to RP2040-based boards using Arduino-pico rp2040 core
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
...
1.7.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string. Add support to Portenta H7 Ethernet
1.7.1 K Hoang 25/12/2021 Fix bug relating to String
1.7.2 K Hoang 27/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.7.3 K Hoang 11/01/2022 Fix libb64 compile error for ESP8266
1.7.4 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
1.7.5 K Hoang 02/03/2022 Fix decoding error bug
*************************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
13 changes: 3 additions & 10 deletions src/EthernetWebServer_SSL-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,19 @@
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL
Licensed under MIT license
Version: 1.7.4
Version: 1.7.5
Version Modified By Date Comments
------- ----------- ---------- -----------
1.1.0 K Hoang 14/11/2020 Initial coding for SAMD21/SAMD51, nRF52, SAM DUE to support Ethernet shields using SSL.
Supporting W5x00 using Ethernetx, ENC28J60 using EthernetENC and UIPEthernet libraries
1.1.1 K Hoang 18/11/2020 Permit sites with "Chain could not be linked to a trust anchor" such as ThingStream
1.1.2 K Hoang 19/11/2020 Add SSL debug feature. Enhance examples.
1.2.0 K Hoang 20/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
1.3.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
1.3.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
1.4.0 K Hoang 13/05/2021 Add support to RP2040-based boards using Arduino mbed_rp2040 core
1.5.0 K Hoang 15/05/2021 Add support to RP2040-based boards using Arduino-pico rp2040 core
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
...
1.7.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string. Add support to Portenta H7 Ethernet
1.7.1 K Hoang 25/12/2021 Fix bug relating to String
1.7.2 K Hoang 27/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.7.3 K Hoang 11/01/2022 Fix libb64 compile error for ESP8266
1.7.4 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
1.7.5 K Hoang 02/03/2022 Fix decoding error bug
*************************************************************************************************************************************/

#pragma once
Expand Down
19 changes: 6 additions & 13 deletions src/EthernetWebServer_SSL.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,37 +9,30 @@
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL
Licensed under MIT license
Version: 1.7.4
Version: 1.7.5
Version Modified By Date Comments
------- ----------- ---------- -----------
1.1.0 K Hoang 14/11/2020 Initial coding for SAMD21/SAMD51, nRF52, SAM DUE to support Ethernet shields using SSL.
Supporting W5x00 using Ethernetx, ENC28J60 using EthernetENC and UIPEthernet libraries
1.1.1 K Hoang 18/11/2020 Permit sites with "Chain could not be linked to a trust anchor" such as ThingStream
1.1.2 K Hoang 19/11/2020 Add SSL debug feature. Enhance examples.
1.2.0 K Hoang 20/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
1.3.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
1.3.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
1.4.0 K Hoang 13/05/2021 Add support to RP2040-based boards using Arduino mbed_rp2040 core
1.5.0 K Hoang 15/05/2021 Add support to RP2040-based boards using Arduino-pico rp2040 core
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
...
1.7.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string. Add support to Portenta H7 Ethernet
1.7.1 K Hoang 25/12/2021 Fix bug relating to String
1.7.2 K Hoang 27/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.7.3 K Hoang 11/01/2022 Fix libb64 compile error for ESP8266
1.7.4 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
1.7.5 K Hoang 02/03/2022 Fix decoding error bug
*************************************************************************************************************************************/

#pragma once

#define ETHERNET_WEBSERVER_SSL_VERSION "EthernetWebServer_SSL v1.7.4"
#define ETHERNET_WEBSERVER_SSL_VERSION "EthernetWebServer_SSL v1.7.5"

#define ETHERNET_WEBSERVER_SSL_VERSION_MAJOR 1
#define ETHERNET_WEBSERVER_SSL_VERSION_MINOR 7
#define ETHERNET_WEBSERVER_SSL_VERSION_PATCH 4
#define ETHERNET_WEBSERVER_SSL_VERSION_PATCH 5

#define ETHERNET_WEBSERVER_SSL_VERSION_INT 1007004
#define ETHERNET_WEBSERVER_SSL_VERSION_INT 1007005

#define USE_NEW_WEBSERVER_VERSION true

Expand Down
13 changes: 3 additions & 10 deletions src/EthernetWrapper_SSL.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,19 @@
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL
Licensed under MIT license
Version: 1.7.4
Version: 1.7.5
Version Modified By Date Comments
------- ----------- ---------- -----------
1.1.0 K Hoang 14/11/2020 Initial coding for SAMD21/SAMD51, nRF52, SAM DUE to support Ethernet shields using SSL.
Supporting W5x00 using Ethernetx, ENC28J60 using EthernetENC and UIPEthernet libraries
1.1.1 K Hoang 18/11/2020 Permit sites with "Chain could not be linked to a trust anchor" such as ThingStream
1.1.2 K Hoang 19/11/2020 Add SSL debug feature. Enhance examples.
1.2.0 K Hoang 20/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
1.3.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
1.3.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
1.4.0 K Hoang 13/05/2021 Add support to RP2040-based boards using Arduino mbed_rp2040 core
1.5.0 K Hoang 15/05/2021 Add support to RP2040-based boards using Arduino-pico rp2040 core
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
...
1.7.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string. Add support to Portenta H7 Ethernet
1.7.1 K Hoang 25/12/2021 Fix bug relating to String
1.7.2 K Hoang 27/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.7.3 K Hoang 11/01/2022 Fix libb64 compile error for ESP8266
1.7.4 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
1.7.5 K Hoang 02/03/2022 Fix decoding error bug
*************************************************************************************************************************************/
#pragma once

Expand Down
13 changes: 3 additions & 10 deletions src/Ethernet_HTTPClient/Ethernet_HttpClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,19 @@
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL
Licensed under MIT license
Version: 1.7.4
Version: 1.7.5
Version Modified By Date Comments
------- ----------- ---------- -----------
1.1.0 K Hoang 14/11/2020 Initial coding for SAMD21/SAMD51, nRF52, SAM DUE to support Ethernet shields using SSL.
Supporting W5x00 using Ethernetx, ENC28J60 using EthernetENC and UIPEthernet libraries
1.1.1 K Hoang 18/11/2020 Permit sites with "Chain could not be linked to a trust anchor" such as ThingStream
1.1.2 K Hoang 19/11/2020 Add SSL debug feature. Enhance examples.
1.2.0 K Hoang 20/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
1.3.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
1.3.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
1.4.0 K Hoang 13/05/2021 Add support to RP2040-based boards using Arduino mbed_rp2040 core
1.5.0 K Hoang 15/05/2021 Add support to RP2040-based boards using Arduino-pico rp2040 core
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
...
1.7.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string. Add support to Portenta H7 Ethernet
1.7.1 K Hoang 25/12/2021 Fix bug relating to String
1.7.2 K Hoang 27/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.7.3 K Hoang 11/01/2022 Fix libb64 compile error for ESP8266
1.7.4 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
1.7.5 K Hoang 02/03/2022 Fix decoding error bug
*************************************************************************************************************************************/

// Class to simplify HTTP fetching on Arduino
Expand Down
13 changes: 3 additions & 10 deletions src/Ethernet_HTTPClient/Ethernet_HttpClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,19 @@
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL
Licensed under MIT license
Version: 1.7.4
Version: 1.7.5
Version Modified By Date Comments
------- ----------- ---------- -----------
1.1.0 K Hoang 14/11/2020 Initial coding for SAMD21/SAMD51, nRF52, SAM DUE to support Ethernet shields using SSL.
Supporting W5x00 using Ethernetx, ENC28J60 using EthernetENC and UIPEthernet libraries
1.1.1 K Hoang 18/11/2020 Permit sites with "Chain could not be linked to a trust anchor" such as ThingStream
1.1.2 K Hoang 19/11/2020 Add SSL debug feature. Enhance examples.
1.2.0 K Hoang 20/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
1.3.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
1.3.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
1.4.0 K Hoang 13/05/2021 Add support to RP2040-based boards using Arduino mbed_rp2040 core
1.5.0 K Hoang 15/05/2021 Add support to RP2040-based boards using Arduino-pico rp2040 core
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
...
1.7.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string. Add support to Portenta H7 Ethernet
1.7.1 K Hoang 25/12/2021 Fix bug relating to String
1.7.2 K Hoang 27/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.7.3 K Hoang 11/01/2022 Fix libb64 compile error for ESP8266
1.7.4 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
1.7.5 K Hoang 02/03/2022 Fix decoding error bug
*************************************************************************************************************************************/

// Class to simplify HTTP fetching on Arduino
Expand Down
13 changes: 3 additions & 10 deletions src/Ethernet_HTTPClient/Ethernet_URLEncoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,19 @@
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL
Licensed under MIT license
Version: 1.7.4
Version: 1.7.5
Version Modified By Date Comments
------- ----------- ---------- -----------
1.1.0 K Hoang 14/11/2020 Initial coding for SAMD21/SAMD51, nRF52, SAM DUE to support Ethernet shields using SSL.
Supporting W5x00 using Ethernetx, ENC28J60 using EthernetENC and UIPEthernet libraries
1.1.1 K Hoang 18/11/2020 Permit sites with "Chain could not be linked to a trust anchor" such as ThingStream
1.1.2 K Hoang 19/11/2020 Add SSL debug feature. Enhance examples.
1.2.0 K Hoang 20/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
1.3.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
1.3.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
1.4.0 K Hoang 13/05/2021 Add support to RP2040-based boards using Arduino mbed_rp2040 core
1.5.0 K Hoang 15/05/2021 Add support to RP2040-based boards using Arduino-pico rp2040 core
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
...
1.7.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string. Add support to Portenta H7 Ethernet
1.7.1 K Hoang 25/12/2021 Fix bug relating to String
1.7.2 K Hoang 27/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.7.3 K Hoang 11/01/2022 Fix libb64 compile error for ESP8266
1.7.4 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
1.7.5 K Hoang 02/03/2022 Fix decoding error bug
*************************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
13 changes: 3 additions & 10 deletions src/Ethernet_HTTPClient/Ethernet_URLEncoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,19 @@
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL
Licensed under MIT license
Version: 1.7.4
Version: 1.7.5
Version Modified By Date Comments
------- ----------- ---------- -----------
1.1.0 K Hoang 14/11/2020 Initial coding for SAMD21/SAMD51, nRF52, SAM DUE to support Ethernet shields using SSL.
Supporting W5x00 using Ethernetx, ENC28J60 using EthernetENC and UIPEthernet libraries
1.1.1 K Hoang 18/11/2020 Permit sites with "Chain could not be linked to a trust anchor" such as ThingStream
1.1.2 K Hoang 19/11/2020 Add SSL debug feature. Enhance examples.
1.2.0 K Hoang 20/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
1.3.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
1.3.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
1.4.0 K Hoang 13/05/2021 Add support to RP2040-based boards using Arduino mbed_rp2040 core
1.5.0 K Hoang 15/05/2021 Add support to RP2040-based boards using Arduino-pico rp2040 core
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
...
1.7.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string. Add support to Portenta H7 Ethernet
1.7.1 K Hoang 25/12/2021 Fix bug relating to String
1.7.2 K Hoang 27/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.7.3 K Hoang 11/01/2022 Fix libb64 compile error for ESP8266
1.7.4 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
1.7.5 K Hoang 02/03/2022 Fix decoding error bug
*************************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
13 changes: 3 additions & 10 deletions src/Ethernet_HTTPClient/Ethernet_WebSocketClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,19 @@
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL
Licensed under MIT license
Version: 1.7.4
Version: 1.7.5
Version Modified By Date Comments
------- ----------- ---------- -----------
1.1.0 K Hoang 14/11/2020 Initial coding for SAMD21/SAMD51, nRF52, SAM DUE to support Ethernet shields using SSL.
Supporting W5x00 using Ethernetx, ENC28J60 using EthernetENC and UIPEthernet libraries
1.1.1 K Hoang 18/11/2020 Permit sites with "Chain could not be linked to a trust anchor" such as ThingStream
1.1.2 K Hoang 19/11/2020 Add SSL debug feature. Enhance examples.
1.2.0 K Hoang 20/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
1.3.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
1.3.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
1.4.0 K Hoang 13/05/2021 Add support to RP2040-based boards using Arduino mbed_rp2040 core
1.5.0 K Hoang 15/05/2021 Add support to RP2040-based boards using Arduino-pico rp2040 core
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
...
1.7.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string. Add support to Portenta H7 Ethernet
1.7.1 K Hoang 25/12/2021 Fix bug relating to String
1.7.2 K Hoang 27/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.7.3 K Hoang 11/01/2022 Fix libb64 compile error for ESP8266
1.7.4 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
1.7.5 K Hoang 02/03/2022 Fix decoding error bug
*************************************************************************************************************************************/

// (c) Copyright Arduino. 2016
Expand Down

0 comments on commit 13057e1

Please sign in to comment.