You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered: