This repository was archived by the owner on Mar 5, 2026. It is now read-only.
Commit 6986587
Fix bug in const String& AsyncWebServerRequest::arg(const __FlashStringHelper * data) const (me-no-dev#334)
Fixes crash in AsyncWebServerRequest::arg with flash string param (eg: `request->arg(F("<arg name>"))` crashes). Solution is to call `strcpy_P` instead of `strcpy`, since the variable `p` is of type `PGM_P` and not `char *`.1 parent fc71230 commit 6986587
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
897 | | - | |
| 897 | + | |
898 | 898 | | |
899 | 899 | | |
900 | 900 | | |
| |||
0 commit comments