you could write a small middleware to compress the uri yourself. That's
dirty but that should work.

- Matt

On Thu, Jul 9, 2009 at 7:16 AM, Ashley Moran
<[email protected]>wrote:

>
> Hi all
>
> Recently been trying to get Dojo running on a Merb app.  Dojo
> generates URLs that look like this:
>
> http://localhost:4001/javascripts/dojo/../dijit/form/FilteringSelect.js
>
> If you visit this in Firefox, it works fine, because Firefox
> compresses the URL before it submits it, into this:
>
> http://localhost:4001/javascripts/dijit/form/FilteringSelect.js
>
> But Celerity - or rather, HtmlUnit - doesn't.  So Merb gets the full
> URL with the relative bit, and returns a 403.  I am pretty sure this
> is a bug in HtmlUnit[1].  But in the mean time, how can I handle/work
> around it?
>
> Thanks
> Ashley
>
>
> [1]
> https://sourceforge.net/tracker/index.php?func=detail&aid=2819046&group_id=47038&atid=448266
>
>
> --
> http://www.patchspace.co.uk/
> http://www.linkedin.com/in/ashleymoran
> http://aviewfromafar.net/
> http://twitter.com/ashleymoran
>
>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to