I've changed my password in order to include a £ and have witnessed no problem in most cases:
changing basic details
uploading a new photo
cropping an existing photo
hunger games
BUT: I've encountered a problem with the new packagings feature, which is the only case to be saved with a PATCH request (temporarySaveProductV3, /api/v3/product/$barcode).
Any idea why the PATCH request would not accept a password with a £, whereas the /cgi/product_jqm2.pl POST works correctly?
{"user_id":"monsieurtanuki","password":"something with a £","product":{"packagings":[{"shape":{"lc_name":"Bouteille"},"material":{"lc_name":"Verre"},"recycling":{"lc_name":"Recycler"},"number_of_units":1}]},"lc":"fr","tags_lc":"fr","cc":"fr","app_name":"Smoothie - OpenFoodFacts","app_version":"0.0.0+734","app_uuid":"6bd6aeef88464d03","app_platform":"android+sdk_gphone64_x86_64-userdebug 12 SE1A.220203.002.A1 8151367 dev-keys","comment":""}
I've changed my password in order to include a
£
and have witnessed no problem in most cases:BUT: I've encountered a problem with the new packagings feature, which is the only case to be saved with a PATCH request (
temporarySaveProductV3
,/api/v3/product/$barcode
).Any idea why the PATCH request would not accept a password with a
£
, whereas the/cgi/product_jqm2.pl
POST works correctly?Originally posted by @monsieurtanuki in https://github.com/openfoodfacts/smooth-app/issues/4663#issuecomment-1835931976