[Building Sakai] new web content tool error

Steve Swinsburg steve.swinsburg at gmail.com
Fri Aug 1 15:40:22 PDT 2014


That fix was for Site Info, not web content. It was just there to
illustrate that this issue can be fixed in one line of code. Whilst URL's
should not contain spaces, we should be a bit flexible and help people out.

Is there a Jira for this?

cheers,
Steve


On Fri, Aug 1, 2014 at 9:58 PM, Neal Caidin <neal.caidin at apereo.org> wrote:

> So the Web Content tool was updated in 2.9.2, I believe. When is the last
> time a URL with spaces worked? Sakai 2.8.x ?
>
> -- Neal
>
>
>   Steve Swinsburg <steve.swinsburg at gmail.com>
>  July 30, 2014 at 7:59 PM
> In this ticket:
> https://jira.sakaiproject.org/browse/SAK-18721
>
> There was a one line fix to simply replace spaces with %20 so that the URL
> stored is correct. On retrieval, this can be added as well so that URLs are
> always correct, even if added in some other manner other than the UI.
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>   Brian Baillargeon <bbailla2 at uwo.ca>
>  July 30, 2014 at 4:24 PM
> Sounds like web content needs to run javascript along the lines of:
> URL is valid?:
> submit
> URL is invalid?:
> encodeURI()
> valid now?:
> submit
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>   Cris J Holdorph <holdorph at unicon.net>
>  July 30, 2014 at 12:58 PM
> Which is probably what the old web content tool did and what the new web
> content tool should probably do.
>
> ---- Cris J H
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>   Aaron Zeckoski <azeckoski at unicon.net>
>  July 30, 2014 at 12:51 PM
> It looks like the actual request that gets sent (from chrome anyway) is
> this:
> q=sakai%20and%20apereo
> I might be misreading what chrome is doing but that's what it looks
> like from the debug.
> -AZ
>
>
>
>   Cris J Holdorph <holdorph at unicon.net>
>  July 30, 2014 at 12:32 PM
> A "url with spaces" can be reproduced (have not tried using it with the
> web content tool) by typing into your address bar of your browser.
>
> For example if I search for "sakai and apereo" (without quotes) into a
> google search, I get the following URL:
>
> https://www.google.com/?gws_rd=ssl#q=sakai+and+apereo
>
> However, I can edit that and replace the value after the 'q' with
>
> https://www.google.com/?gws_rd=ssl#q=sakai and apereo
>
> and I get the same resulting page.
>
> ---- Cris J H
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
>
> --
> Neal Caidin
> Sakai Community Coordinator
> Apereo Foundation
> neal.caidin at apereo.org
> Skype me! (but let me know in advance for the first interaction) - nealkdin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140802/91e6b3cc/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1251 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140802/91e6b3cc/attachment.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140802/91e6b3cc/attachment-0001.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1214 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140802/91e6b3cc/attachment-0002.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1247 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140802/91e6b3cc/attachment-0003.jpg 


More information about the sakai-dev mailing list