Idan Horowitz
6704961c82
AK: Replace the mutable String::replace API with an immutable version
...
This removes the awkward String::replace API which was the only String
API which mutated the String and replaces it with a new immutable
version that returns a new String with the replacements applied. This
also fixes a couple of UAFs that were caused by the use of this API.
As an optimization an equivalent StringView::replace API was also added
to remove an unnecessary String allocations in the format of:
`String { view }.replace(...);`
2021-09-11 20:36:43 +03:00
..
2021-06-29 10:03:53 +02:00
2021-06-28 22:29:39 +02:00
2021-07-18 23:55:13 +02:00
2021-06-20 14:57:26 +02:00
2021-06-20 14:57:26 +02:00
2021-09-11 19:05:46 +02:00
2021-09-11 19:05:46 +02:00
2021-08-02 00:39:15 +02:00
2021-09-11 19:05:46 +02:00
2021-09-11 19:05:46 +02:00
2021-09-04 03:35:23 +02:00
2021-08-23 01:41:53 +02:00
2021-06-18 17:40:05 +02:00
2021-08-01 08:10:16 +02:00
2021-06-18 17:40:05 +02:00
2021-07-21 00:06:58 +02:00
2021-08-19 00:11:42 +02:00
2021-08-02 00:39:15 +02:00
2021-08-02 00:39:15 +02:00
2021-08-02 00:39:15 +02:00
2021-08-02 00:39:15 +02:00
2021-07-18 23:55:13 +02:00
2021-07-21 18:02:15 +02:00
2021-06-25 20:38:13 +02:00
2021-08-31 01:35:08 +02:00
2021-07-03 12:27:23 +02:00
2021-08-08 10:55:36 +02:00
2021-07-21 00:06:58 +02:00
2021-06-20 14:57:26 +02:00
2021-07-21 00:06:58 +02:00
2021-08-01 08:10:16 +02:00
2021-09-11 20:36:43 +03:00
2021-09-10 22:09:23 +02:00
2021-09-08 10:53:49 +02:00
2021-08-02 00:39:15 +02:00
2021-07-07 21:06:15 +02:00
2021-09-10 22:09:23 +02:00
2021-09-04 03:35:23 +02:00
2021-07-03 12:27:23 +02:00
2021-07-19 18:21:40 +02:00
2021-09-11 19:05:46 +02:00
2021-07-07 15:38:59 +02:00
2021-07-08 22:31:21 +02:00
2021-07-08 20:15:23 +02:00
2021-07-03 12:27:23 +02:00
2021-06-03 08:27:57 +02:00
2021-09-02 03:47:47 +04:30
2021-07-19 18:21:40 +02:00