We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff385f2 commit ba45509Copy full SHA for ba45509
src/peppol_py/smp.py
@@ -47,6 +47,10 @@ def get_smp_url_from_dns(participant_id, test_environment):
47
48
# SMP: domain + path -> xml with service descriptions
49
# get all available interfaces (invoice, credit note etc.)
50
+ if not result.endswith("/"):
51
+ # If the record resolves as "https://example.com/smp", we need to go to "https://smp.service.afasonline.com/smp/iso…",
52
+ # not "https://smp.service.afasonline.com/isoo…
53
+ result += "/"
54
return urllib.parse.urljoin(result, "./iso6523-actorid-upis::" + participant_id)
55
56
0 commit comments