You are here

[Fixed] Weird links in latest apps and news

2 posts / 0 new
Last post
Zanza
Offline
Last seen: 4 years 7 hours ago
Joined: 2020-05-14 04:18
[Fixed] Weird links in latest apps and news

I noticed that you get very weird links on the latest apps and news site when you are not logged in with your user on portableapps.com

When you are logged in, everthing looks fine.
On the main page you click on "Latest apps and news..."

You click through the news pages and you see the right links
https://portableapps.com/news?page=1
https://portableapps.com/news?page=2
https://portableapps.com/news?page=3

and so on. Thats ok.

But when you do the same when you are not logged in, you start to see very weird links, like the site is hacked:
https://portableapps.com/news/2008-07-06_-_http%3A/titusfuizn.dsiblogger...
https://portableapps.com/news/2010-02-25_-_lnkd.in/frq9dhh_portable_3.2?...
https://portableapps.com/news/2008-07-06_-_capatone.cba.pl/capstone-1-pr...

While the links look weird, you still get to the right news page. but i wonder whats happening here.

John T. Haller
John T. Haller's picture
Offline
Last seen: 11 hours 57 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Drupal Views Quirk

Turns out there's a quirk of Drupal Views where it will cache the last thing that was provided as its pager display. As you can provide extra variables it displays things through whatever server or cacher was requesting at the time it was cached. As long as you set the View to send a 404 when oddball stuff is sent to it, it prevents this behavior. So it's been set now. Thanks for the heads up.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments