View Issue Details

IDProjectCategoryView StatusLast Update
0007852OXID eShop B2B EditionB2B edition - subpublic2026-02-05 16:48
ReporterAdrianFrey Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version7.5.0 
Summary0007852: Activation link in “My Buyers” uses HTML entity & instead of &, causing invalid or uncallable URLs in some cases
DescriptionDescription:
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 Reproduce1) 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 InformationExpected 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).
TagsNo tags attached.

Activities

michael_keiluweit

2025-11-12 08:11

administrator   ~0018248

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 }}

michael_keiluweit

2025-11-19 15:18

administrator   ~0018255

https://github.com/OXID-eSales/b2b-buying-agent-module/pull/4