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

Add support for relative links #1489

Merged
merged 15 commits into from
Oct 26, 2024
Merged

Add support for relative links #1489

merged 15 commits into from
Oct 26, 2024

Conversation

mre
Copy link
Member

@mre mre commented Aug 23, 2024

Refactor file checking and improve URI handling

This commit introduces several improvements to the file checking process and URI handling:

  • Extract file checking logic into a separate FileChecker struct
  • Improve handling of relative and absolute file paths
  • Enhance URI parsing and creation from file paths
  • Refactor create_request function for better clarity and error handling

These changes provide better support for resolving relative links, handling different base URLs, and working with file paths.

Fixes #1296 and #1480

@mre mre mentioned this pull request Oct 13, 2024
@mre mre changed the title Relative links v2 Add support for relative links Oct 16, 2024
@mre mre force-pushed the relative-links-v2 branch 2 times, most recently from be20046 to 9336a8d Compare October 17, 2024 16:22
@thomas-zahner thomas-zahner self-requested a review October 18, 2024 09:12
@mre mre merged commit 3094bbc into master Oct 26, 2024
7 checks passed
@mre mre deleted the relative-links-v2 branch October 26, 2024 02:07
This was referenced Oct 26, 2024
mre added a commit that referenced this pull request Oct 27, 2024
This commit introduces several improvements to the file checking process and URI handling:

- Extract file checking logic into separate `Checker` structs (`FileChecker`, `WebsiteChecker`, `MailChecker`)
- Improve handling of relative and absolute file paths
- Enhance URI parsing and creation from file paths
- Refactor `create_request` function for better clarity and error handling

These changes provide better support for resolving relative links, handling different base URLs, and working with file paths.

Fixes #1296 and #1480
mre added a commit that referenced this pull request Oct 27, 2024
This commit introduces several improvements to the file checking process and URI handling:

- Extract file checking logic into separate `Checker` structs (`FileChecker`, `WebsiteChecker`, `MailChecker`)
- Improve handling of relative and absolute file paths
- Enhance URI parsing and creation from file paths
- Refactor `create_request` function for better clarity and error handling

These changes provide better support for resolving relative links, handling different base URLs, and working with file paths.

Fixes #1296 and #1480
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.

Issues with relative links
1 participant