Several bugs with channel categories dropping ?f= when embedding link into post / sporadically on channel page / added MID to category menu links
These bugs have been initally found by @{walter_52@hub.netzgemeinde.eu} and have been reproduced / by me.
The hubs in question: hub.netzgemeinde.eu (Walter) Version 4.0 hubzilla.rocks (me) Version 4.0
Embeding links to categroies into pots can drop ?f= and result in 404
Experienced at: https://hub.netzgemeinde.eu/channel/hubzillaneu
Reproduced at hubzilla.rocks/channel/tobias with randomly chosen categories
When directly c&p'ing the link to a categry listing into a post it is broken after posting.
- copy the URL directly from the browser's address bar: https://hub.netzgemeinde.eu/channel/hubzillaneu?f=&cat=0000+Allg.Diskussion%2FFragen
- drop it into a post via paste
- after sending the post it looks like this and only results in a 404 not found: #^[zrl=https://hub.netzgemeinde.eu/channel/hubzillaneu&cat=0000+Allg.Diskussion%2FFragen]https://hub.netzgemeinde.eu/channel/hubzillaneu&cat=0000+Allg.Diskussion%2FFragen[/zrl] The difference is: ?f= is being swallowd. https://hub.netzgemeinde.eu/channel/hubzillaneu&cat=0000+Allg.Diskussion%2FFragen https://hub.netzgemeinde.eu/channel/hubzillaneu?f=&cat=0000+Allg.Diskussion%2FFragen
And now the "funny" part: When embeding the same link via the "Insert Link Button" it works at least for me. But interestingly not for @{walter_52@hub.netzgemeinde.eu}. He seems to be getting an embed (the channel profile gets pulled) but the link is broken.
Category links directly on channel page sporadically also missing ?f= resulting in 404
Sporadically even the category links on the channel home page appear to be broken sometimes. This one is very difficult to reproduce as at one time I could reproduce the issue, the next time I could not even on the very same channel.
- I clicked on a category from the category menu
- then I clicked on the category from inside a posting and got a 404
- ATM I again cannot reproduce this
MID added to links from channel's category menu
Reproduced at hubzilla.rocks/channel/tobias with randomly chosen categories
- Click on an URL to an individual posting takes me to that post (expected)
- NOW a click on a category from the category menu (not from inside a post!) addes the MID of the post I am seeing ATM
- the link does work as expected, but I am reporting this anyway so that it can be reviewed and possible future more difficult bugs resulting from this be avoided. https://hub.netzgemeinde.eu/channel/hubzillaneu/ ?mid= b64.aHR0cHM6Ly9odWIubmV0emdlbWVpbmRlLmV1L2l0ZW0vYTJhYjc5YjAtYzU5Mi00NzQwLTlmOTMtMjMxMWQ5ZTYwMjIw ?f=&cat= 0000+Allg.Diskussion%2FFragen