Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jorge Lusar 150 posts 489 karma points
    Jan 08, 2012 @ 15:27
    Jorge Lusar
    3

    Where is the source code?

    The source code will be released soon. This package is also open for collaboration, so get in touch

  • Mr A 216 posts 278 karma points
    Jan 09, 2012 @ 11:11
    Mr A
    0

    Project looks great as a starter kit , liked it , Would luv to see the source code :)

  • Jorge Lusar 150 posts 489 karma points
    Jan 11, 2012 @ 14:20
    Jorge Lusar
    0

    Hi guys,

    Source code is available on http://ubootstrap.codeplex.com/SourceControl/list/changesets

    Cheers,

    Jorge

  • Kim 18 posts 38 karma points
    Feb 15, 2012 @ 07:35
    Kim
    0

    Still no source code for the version 5?

  • Jorge Lusar 150 posts 489 karma points
    Feb 15, 2012 @ 09:10
    Jorge Lusar
    0

    Hi Kim,

    There is an experimental version for Umbraco V5 available for download. Get the nuget package or grab the code from https://bitbucket.org/jorgelusar/ubootstrap-for-umbraco-v5. Demo in http://bsv5.jlusar.es/. Check http://jlusar.es/ubootstrap-for-umbraco-v5 for more info. There also a forum for uBootstrap for V5 in http://our.umbraco.org/projects/starter-kits/ubootstrap/help-using-ubootstrap-for-v5.

    Cheers,

    J

  • Tom 713 posts 952 karma points
    Apr 17, 2012 @ 01:42
    Tom
    0

    Hi Jorge.. the search in uBootstrap is open to script injection.. try entering  in your 4.7.1 demo... 

     

    could that be fixed by validating request in the base page..

    Cheers,

    Tom

  • Jorge Lusar 150 posts 489 karma points
    Apr 17, 2012 @ 10:33
    Jorge Lusar
    1

    Hi Tom,

    Thanks for letting me know. Yes, it could be fixed by setting the ValidateRequest to true on the MasterPageBase, example:

    public class MasterPageBase : MasterPage
    {
        protected override void OnInit(EventArgs e)
        {
            ((umbraco.UmbracoDefault)Page).ValidateRequest = true;
            base.OnInit(e);
        }
    }
    

    or simply removing the Inherits="Bootstrap.Logic.UI.MasterPageBase" from the Public.master

    Another option would be to decode the request in the Search.cshtml, example:

    var searchTerm = HttpUtility.UrlDecode(Request.QueryString["q"]);
    

    Or strip the tags like

    var searchTerm = Library.StripHtml(Request.QueryString["q"]);
    

    Cheers

    Jorge

  • Tom 713 posts 952 karma points
    Apr 17, 2012 @ 15:02
    Tom
    0

    Thanks so much Jorge,

    I appreciate your replies!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies