Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

scheme://query no longer works in Search box

by ikegami (Patriarch)
on Sep 08, 2021 at 18:47 UTC ( #11136579=monkdiscuss: print w/replies, xml ) Need Help??

id://11136579, doc://pack and mod://Text::CSV_XS no longer work in the search box. I just get redirected from https://www.perlmonks.org/ to https://perlmonks.org/.

id://11136579, doc://pack and mod://Text::CSV_XS still work in posts, though.

Perhaps broken by the Open redirects are disabled change?

Replies are listed 'Best First'.
Re: scheme://query no longer works in Search box
by erzuuli (Cannon) on Sep 08, 2021 at 19:31 UTC

      The issue I raised isn't about /?node=scheme://..., it's about the search box no longer functioning. These are two different things.

      The search box currently makes a request of the form /?node=..., but it doesn't need to. For example, it could make a POST request.

      Alternatively, it could continue to make the same request, but only accept doc://, mod://, id:// and other safe schemes.

        You should maybe explain the benefit of such a feature, if you want it to be (re)implemented.

        In 13 years here I've never used this.

        The resources of pmdevs are limited and the to-do list is long.

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery

Re: scheme://query no longer works in Search box
by LanX (Sage) on Sep 08, 2021 at 22:04 UTC
    Some background can be found for pmdevs on Automatic redirection with https://perlmonks.org/?node=http://spammer.com

    The relevant part is:

      I was curious how many spammers actually succeeded to post porn links in the monastery, so I ran a site search on google

      porn site:perlmonks.org

      to my big surprise I got plenty of hits from spammers using an automatic redirection from PM to their sites

      What's happening is that links of the form

      https://perlmonks.org/?node=http://spammer.com

      are automatically redirected.

    and that's what the searchbox basically does, it puts any searchterm after the ?node= and then our scheme://queries (including http:// ) were translated.

    That's why the gods decided to disable this feature, any link-format will now only be searched verbatim.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      Thank you. By the way, I am of the opinion that it would have been better to leave the feature enabled generally, and just disallow ^http redirects.

      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://11136579]
Approved by erzuuli
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2022-05-25 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (90 votes). Check out past polls.

    Notices?