Skip to content

Fix user-agent format (403 forbidden) with KISS principle#273

Merged
Builditluc merged 1 commit intoBuilditluc:mainfrom
chunix64:main
Dec 2, 2025
Merged

Fix user-agent format (403 forbidden) with KISS principle#273
Builditluc merged 1 commit intoBuilditluc:mainfrom
chunix64:main

Conversation

@chunix64
Copy link
Contributor

@chunix64 chunix64 commented Nov 30, 2025

Fix user agent format to fix #267 with minimal change to code according to #267 (comment)

@chunix64 chunix64 changed the title Fix user-agent format Fix user-agent format (403 forbidden) Nov 30, 2025
@chunix64 chunix64 changed the title Fix user-agent format (403 forbidden) Fix user-agent format (403 forbidden) with KISS principle Nov 30, 2025
@max-gaspers-scott
Copy link
Contributor

Hello @chunix64 ,

Thanks for the contribution. The way you format the user agent looks much nicer than trying to repeatedly update the string that's passed to the Client, like I was doing. Sorry, I've been slow to update the version, so the original 403 error can be fixed in the cargo package as well as when building from source.

@Builditluc I tested on my system, and it looks good to me. What do you think?

Copy link
Owner

@Builditluc Builditluc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Builditluc
Copy link
Owner

Hello @chunix64, also thanks from me for your contribution!

@Builditluc Builditluc merged commit 42bac0f into Builditluc:main Dec 2, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in wiki-tui: Roadmap Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[BUG]403 Forbidden from Wikipedia API (missing/invalid User-Agent header)

3 participants