TiddlySpace/tiddlyspace — Issue #886: tiddlyspace tiddler_url creates bad uris for aux-bag like bags
Author: cdent
Created: 2012-01-19 17:38:47+00:00
State: open

Probably easiest to just demonstrate this. If you go to http://tapas.tiddlyspace.com/ and then open up the javascript console and put this in there:

```
$.ajax({dataType: 'json', url: '/bags/tapas_extra/tiddlers/tapas.js', success: function(tiddler) { console.log(tiddler.uri);}});
```

You'll get the following result:

```
http://tapas.tiddlyspace.com/bags/tapas_extra/tiddlers/tapas.js
```

If you then use that URI in a presentational way, when it is clicked, a 404 will result (because of ControlView)

This suggests there is a logic error somewhere in tidldywebplugins.tiddlyspace.fixups:web_tiddler_url

Some improved tests of that code ought to sort it out.

The desired outcome is that the URI, at least until an AuxBags system is finalized, is that the URI is in tiddlyspace.com, not space.tiddlyspace.com