When sending a request to Piwigo API, method pwg.images.syncMetadata, the list of image_ids is provided as an array. While this is certainly the "cleaner", here is what is sent: ws.php?format=json&method=pwg.images.syncMetadata&image_id[]=1&image_id[]=2&image_id[]=3
I think it would be more efficient to send image_id=1,2,3
... without breaking the way it currently works.
As described in #2169 :
> When sending a request to Piwigo API, method pwg.images.syncMetadata, the list of image_ids is provided as an array. While this is certainly the "cleaner", here is what is sent: ws.php?format=json&method=pwg.images.syncMetadata&image_id[]=1&image_id[]=2&image_id[]=3
>
> I think it would be more efficient to send image_id=1,2,3
... without breaking the way it currently works.
<!-- github-sync-id:2366684803 -->
warning : when checking the user input, I remember PHP regex cannot match repeating patterns beyond a few hundreds. You must explode the user input and check each token.
warning : when checking the user input, I remember PHP regex cannot match repeating patterns beyond a few hundreds. You must explode the user input and check each token.
<!-- github-comment-id:2212431739 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
As described in #2169 :
... without breaking the way it currently works.
Once done, use this change in batch manager
warning : when checking the user input, I remember PHP regex cannot match repeating patterns beyond a few hundreds. You must explode the user input and check each token.