Timeline for Are there any Security Concerns to using Python F Strings with User Input
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 13, 2021 at 17:47 | comment | added | MikeSchem | Oh, I see, never mind. | |
May 13, 2021 at 17:43 | comment | added | MikeSchem | Are you sure? It looks like line 3 in your output is printing out the secrete. | |
May 13, 2021 at 14:06 | comment | added | Al Bundy | It executes the print, but not the one provided by the user as an argument. | |
May 12, 2021 at 18:35 | comment | added | MikeSchem |
Doesn't this sample prove that it does execute the print() ?
|
|
May 12, 2021 at 18:33 | vote | accept | MikeSchem | ||
May 13, 2021 at 17:48 | |||||
May 12, 2021 at 18:33 | history | rollback | MikeSchem |
Rollback to Revision 1
|
|
May 12, 2021 at 18:33 | comment | added | MikeSchem | Ok, I was unsure what you were trying to demonstrate. I see now. | |
May 12, 2021 at 4:29 | comment | added | Al Bundy |
@MikeSchem you have destroyed the example. Why have you removed the print from the print(f"From code: {secret}") . It has been crucial to show what is going on. Revert the changes because now it makes no sense.
|
|
May 11, 2021 at 18:05 | history | edited | MikeSchem | CC BY-SA 4.0 |
small edit to code
|
May 11, 2021 at 8:31 | history | answered | Al Bundy | CC BY-SA 4.0 |