Closed Bug 399467 Opened 17 years ago Closed 17 years ago

Directories are imported as files and breaking links

Categories

(Webtools Graveyard :: Kubla, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: clouserw, Assigned: clouserw)

References

Details

I first noticed this in bug 398834, but this is going to affect a lot.  Mozilla.com used mostly directories for URLs, preferring to put an index.html inside of them.  (This kept the URLs prettier)

When kubla imports these directories, they're being imported as files, so /this/directory/index.html is becoming /this/directory.  This breaks all relative links on those pages.

/me notes that there is no makesmesad keyword
This is pretty core drupal functionality.  The slashes get trimmed off both ends of the requested URL in drupal_init_path() which does the url aliasing before drupal is even fully bootstrapped (in the DRUPAL_BOOTSTRAP_PATH stage).

It makes me nervous about bad relative links (since there are so many) but I'm going to look into tweaking the beast that is the migration script to fix this.
Due to changes in Kubla design these bugs are no longer relevant (details on the wiki).  Marking invalid.  If you want something to filter your mail by, use KUBLA_INVALID_BUG.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Verified INVALID
Status: RESOLVED → VERIFIED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.