You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I recently upgraded from 4.0.7 to 4.1 and noticed some strange behavior when persisting values that contain a ? character. For some reason once the data is written to the database I'm seeing the ? replaced with $1.
Stack trace
On 4.0.7 when I save a string containing a ? I see the following query generated:
update "team" set "profilephotourl" = 'https://SOME_URL/profile.png?t=1602648800506' where "id" = '123'
And in the database it shows up as expected:
https://SOME_URL/profile.png?t=1602648800506
And on 4.1, I see the following query:
update "team" set "profilephotourl" = 'https://SOME_URL/profile.png?t=1602631580559' where "id" = '123'
But in the database I see:
https://SOME_URL/profile.png$1t=1602631580559
Where the ? appears to have been replaced with a $1
To Reproduce
Nothing has changed with the code other than to move from 4.0.7 --> 4.1 and the code itself in this case is super simple:
Describe the bug
I recently upgraded from 4.0.7 to 4.1 and noticed some strange behavior when persisting values that contain a
?
character. For some reason once the data is written to the database I'm seeing the?
replaced with$1
.Stack trace
On 4.0.7 when I save a string containing a
?
I see the following query generated:And in the database it shows up as expected:
And on 4.1, I see the following query:
But in the database I see:
Where the
?
appears to have been replaced with a$1
To Reproduce
Nothing has changed with the code other than to move from 4.0.7 --> 4.1 and the code itself in this case is super simple:
Where
url
contains the URL examples from above.Versions
The text was updated successfully, but these errors were encountered: