Opened 11 years ago

Closed 3 years ago

#1484 closed defect (fixed)

Deeply relative links cause Xinha to fail

Reported by: gogo Owned by: gogo
Priority: normal Milestone: 0.97
Component: Xinha Core Version: trunk
Severity: normal Keywords:

Change History (2)

comment:1 Changed 10 years ago by gogo

  • Milestone changed from 0.96 to 0.97

comment:2 Changed 3 years ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed

[1396] commits a full rewrite of the relative url expander (the thing what caused this problem). It should now be much better at handling various url forms, and not cause Xinha to crash if you give it something bad. Excessive parenting (../) will just have the effect of pushing the url back to the root. Query strings and fragment identifiers (hash tag) are ignored. Fully absolute urls (//blah.html, http://foo/bar/blah.html etc) are ignored.

Note: See TracTickets for help on using tickets.