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

[Neat URL] support WeChat article URL (mp.weixin.qq.com) #172

Open
zhaoruibing opened this issue Sep 24, 2021 · 0 comments
Open

[Neat URL] support WeChat article URL (mp.weixin.qq.com) #172

zhaoruibing opened this issue Sep 24, 2021 · 0 comments

Comments

@zhaoruibing
Copy link

Background:
When opening a WeChat article in its mobile app, the article URL contains lots of params. Below is an example.

URL with extra params
https://mp.weixin.qq.com/s?__biz=MjM5MDgwMzc4MA==&mid=2654885666&idx=1&sn=31ad074556695f474e4ce2a63a6c7b4e&chksm=bd75c5098a024c1fb8d6e610f9332ddc28efaf56b153954acdd327369722ffdb338681bb15eb&sessionid=1632515816&subscene=92&scene=0&clicktime=1632515827&ascene=1&devicetype=iOS15.0&version=18000d31&nettype=WIFI&lang=zh_CN&fontScale=106&exportkey=CXIaQTuRrJy2uezXhRaLIJU%3D&pass_ticket=9aYR7q%2B5uqCBHVamUsFGffLB0NOMx5gSNfiAoLRcJAdNCuhwDzvRFhijMRQ%2FJrzJ&wx_header=1


Here is a rule that removes the unnecessary params, without breaking it.
Proposed Rules
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]

Neat URL, after proposed rule applied:
https://mp.weixin.qq.com/s?__biz=MjM5MDgwMzc4MA%3D%3D&mid=2654885666&idx=1&sn=31ad074556695f474e4ce2a63a6c7b4e


WARN: I have only tested my use case and cannot be sure this applies to everyone.

Thanks for making NeatURL, it saved me lots of time.

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

No branches or pull requests

1 participant