Opened 8 years ago
Closed 2 months 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: | |
Cc: |
Description
Read this thread:
http://www.xinha.org/punbb/viewtopic.php?id=2477
Change History (2)
comment:1 Changed 8 years ago by gogo
- Milestone changed from 0.96 to 0.97
comment:2 Changed 2 months ago by gogo
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
[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.