Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mailto://ip.addr support #1114

Merged
merged 1 commit into from
Apr 20, 2024
Merged

Fix mailto://ip.addr support #1114

merged 1 commit into from
Apr 20, 2024

Conversation

caronc
Copy link
Owner

@caronc caronc commented Apr 20, 2024

Description:

Related issue (if applicable): #1113

This was broken in #1095 where the mailto:// syntax got a bit smarter and made mailto:// syntax shorter for most cases. However it broke the mailto://ip.address references ( 👀 )

This PR resolves this issue.

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • No lint errors (use flake8)
  • 100% test coverage

Testing

Anyone can help test this source code as follows:

# Create a virtual environment to work in as follows:
python3 -m venv apprise

# Change into our new directory
cd apprise

# Activate our virtual environment
source bin/activate

# Install the branch
pip install git+https://github.com/caronc/apprise.git@1113-mailto-ipaddr-fix

# Test out the changes with the following command:
apprise -t "Test Title" -b "Test Message" \
  "mailto://1.2.3.4"

@codecov-commenter
Copy link

codecov-commenter commented Apr 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.27%. Comparing base (22c979d) to head (37230de).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1114   +/-   ##
=======================================
  Coverage   99.27%   99.27%           
=======================================
  Files         139      139           
  Lines       18053    18055    +2     
  Branches     3688     3689    +1     
=======================================
+ Hits        17923    17925    +2     
  Misses        121      121           
  Partials        9        9           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caronc caronc merged commit 2316a4b into master Apr 20, 2024
13 checks passed
@caronc caronc deleted the 1113-mailto-ipaddr-fix branch July 26, 2024 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants