Sfoglia il codice sorgente

Allow hash (#) in URIs

Alois Mahdal 10 anni fa
parent
commit
81e983ea93
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      ffoo/saturnin_www.sh

+ 1
- 1
ffoo/saturnin_www.sh Vedi File

45
     #
45
     #
46
     tr ' ' '\n' \
46
     tr ' ' '\n' \
47
       | perl -ne '
47
       | perl -ne '
48
-            next unless m|(\bhttps?://[[:alnum:]_:/.?&+%@=;~-]+)\b|;
48
+            next unless m|(\bhttps?://[[:alnum:]_:/.?#&+%@=;~-]+)\b|;
49
             print "$1\n";
49
             print "$1\n";
50
         ' \
50
         ' \
51
       | debug_pipe uri_lookalikes
51
       | debug_pipe uri_lookalikes