View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007852 | OXID eShop B2B Edition | B2B edition - sub | public | 2025-11-07 16:26 | 2026-02-05 16:48 |
| Reporter | AdrianFrey | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 7.5.0 | ||||
| Summary | 0007852: Activation link in “My Buyers” uses HTML entity & instead of &, causing invalid or uncallable URLs in some cases | ||||
| Description | Description: A partner reported that the activation link generated for a new buying agent in the B2B module sometimes cannot be opened. The issue appears to be related to the use of the HTML entity & within the URL. While I cannot consistently reproduce a case where the URL itself is entirely uncallable, it seems that in certain environments (possibly browser-dependent) the link fails to resolve correctly. What can be confirmed is that the & entity is definitely being appended in the generated URL. The issue occurs in the private method getActivationLink, where the method getShopHomeUrl is used to build the link. This results in an HTML-encoded ampersand (&) instead of a normal &. Example: http://localhost/index.php?lang=1&cl=b2bbuyingagent&fnc=b2bactivateagent&hash= | ||||
| Steps To Reproduce | 1) Install OXID eShop 7.1 2) Install OXID B2B modules 3) Open the frontend 4) Log in with a B2B user 5) Switch the language from German to English 6) Navigate to your profile -> My Buyers 7) Add a new buying agent | ||||
| Additional Information | Expected Result: The generated activation link should contain valid parameters using & instead of &, and be fully callable in all browsers. Actual Result: The generated activation link includes & within the URL, which may cause the link to be uncallable in certain cases (potentially browser-dependent). | ||||
| Tags | No tags attached. | ||||
|
|
Workaround: 1. goto admin 2. Customer Info 3. CMS Pages 4. Search for ident b2b_email_new_agent_user 5. Replace {{ activationlink }} with {{ activationlink|raw }} |
|
|
https://github.com/OXID-eSales/b2b-buying-agent-module/pull/4 |