rveachkc / pymsteams

Format messages and post to Microsoft Teams.
https://pypi.org/project/pymsteams/
Apache License 2.0
428 stars 79 forks source link

The button navigate to null page as shown in attatchment #102

Closed sheikhjebran closed 3 years ago

sheikhjebran commented 3 years ago

Describe the bug The LinkButton navigate me to null page

To Reproduce Steps to reproduce the behavior:

CODE below

my_teams_message = pymsteams.connectorcard(webhook_url) my_teams_message.addLinkButton("JenkinsJob", pyutilityconfig.BUILD_URL) my_teams_message.send()

Expected behavior when the URL is " http://www.google.com it works , but when the i use my Jenkins-URL then it navigate to null

Screenshots

Screenshot 2021-07-11 at 10 26 34 PM

Additional context The button works fine for "http://www.google.com" but it dont work for my jenkins URL

rveachkc commented 3 years ago

This is going to be a problem with how Microsoft handles the url, not something that can be corrected on the pymsteams side.