Skip to content

Commit 8d0c50d

Browse files
authored
Merge pull request #30 from BitBagCommerce/bugfix/user-search
[UC-25] Encode query parameter value in UserApi
2 parents e73db34 + a6ac1e6 commit 8d0c50d

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

doc/functionalities.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ The **BitBagSyliusUserComPlugin** integrates **User.com** with Sylius-based stor
2222
### 4. Event-Driven System
2323
- Each customer interaction generates an **event**, which is stored and sent to **User.com** for automation and reporting.
2424

25-
### 5. Product Persistence & Feed Generation
25+
### 5. Product Persistence
2626
- **Persists products** within the system for accurate data reporting.
27-
- Generates a **product feed** that can be used for marketing and analytics purposes.
2827

2928
### 6. Tag Manager Script Injection
3029
- Allows users to **inject custom scripts** via **Tag Manager**.

src/Api/UserApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function findUser(
2828
$url = $this->getApiEndpointUrl(
2929
$resource,
3030
self::FIND_USER_ENDPOINT,
31-
sprintf('?%s=%s', $field, $value),
31+
sprintf('?%s=%s', $field, rawurlencode($value)),
3232
);
3333

3434
return $this->request(

0 commit comments

Comments
 (0)