Changeset 1442


Ignore:
Timestamp:
05/13/18 09:14:33 (7 months ago)
Author:
gogo
Message:

#1484 and changeset:1396 rewritten url expanding did not handle anchor links properly, nor query string only links (rare, but possible)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r1441 r1442  
    68826882        } 
    68836883        if( 
    6884              ( !all_urls[j].match(/=["']\//)       ) // Starts with something other than a slash 
     6884             ( !all_urls[j].match(/=["'][\/?#]/)   ) // Starts with something other than a slash, question or hash 
    68856885          || ( all_urls[j].match(/=["']\.{1,2}\//) ) // Starts with a ./ or ../ 
    68866886          || ( all_urls[j].match(/\/\.{1,2}\//   ) ) // Includes a ./ or ../ 
Note: See TracChangeset for help on using the changeset viewer.