SWI-Prolog / plweb

SWI-Prolog web server sources for www.swi-prolog.org
http://www.swi-prolog.org
16 stars 10 forks source link

broken link to predicates in pack #6

Open Anniepoo opened 9 years ago

Anniepoo commented 9 years ago

on page

http://www.swi-prolog.org/pack/list?p=genutils

clicking print_numbered_list/1 link goes to http://www.swi-prolog.org/pldoc/doc/scratch/swipl/src/plweb/pack/mirror/28/a9/28a9409d0549da162c9ab5f6e42312801f73138d/prolog/listutils.pl#print_numbered_list/1

which is 403 forbidden

JanWielemaker commented 5 years ago

There are two problems here. One is the two servers have a different path to the packs and thus you get invalid results. Ideally that is fixed by changing returned URLs with a more abstract one that appears on both servers. The second is that not-loaded code cannot be displayed as source by default form security reasons. We should make sure this is ok for these links.

JanWielemaker commented 5 years ago

Sorry, didn't intend to close