Permalink
Commits on Oct 28, 2016
  1. Merge pull request #1161 from castaway/patch-1

    Add environment var hint to cookbook script examples
    bigpresh committed on GitHub Oct 28, 2016
Commits on Oct 19, 2016
  1. Merge pull request #1159 from 1nickt/patch-1

    Add test method response_redirect_location_like()
    bigpresh committed on GitHub Oct 19, 2016
  2. Merge pull request #1164 from 1nickt/fix_YAML-XS_support

    Implement support for use of YAML::XS
    bigpresh committed on GitHub Oct 19, 2016
Commits on Feb 24, 2016
  1. IRC Travis notifications

    (If I can get the build working again, that is - not sure what happened with the
    last build, it seemed to just get stuck resolving Dist::Zilla dependencies and
    installing most of CPAN...)
    bigpresh committed Feb 24, 2016
Commits on Feb 19, 2016
  1. Revert "Merge pull request #1150 from PerlDancer/use_other_local_addr…

    …ess"
    
    This reverts commit dde505a, reversing
    changes made to bae8041.
    
    Conflicts:
    	.travis.yml
    	Changes
    bigpresh committed Feb 19, 2016
Commits on Feb 16, 2016
  1. v1.3301

     [BUG FIXES]
     - Reverted session ID validation (PR-1155) as it breaks
       Dancer::Session::Cookie (bigpresh)
    bigpresh committed Feb 16, 2016
  2. Merge pull request #1156 from PerlDancer/revert-1155-bigpresh/1118/va…

    …lidate_session_id
    
    Revert "Validate session IDs"
    bigpresh committed Feb 16, 2016
Commits on Feb 15, 2016
  1. v1.3300

     [BUG FIXES]
     - More temp directory handling fixes (Issue #1147)
     - Avoid request body truncation in hand-assembled requests in tests (PR
       1148, skington)
     - Avoid tests failing when "localhost" doesn't resolve (PR 1142, gbarco)
     - Avoid test failures due to race condition in selecting a port to listen
       on by using 127.0.0.10 instead (more of a hacky workaround than a fix,
       but should help (bigpresh)
     - Fix YAML session handler under taint mode (chrisjrob)
     - Make request->body work again for URL-encoded POST requests - Issue 1140
       reported by miyagawa (bigpresh)
     - Validate session IDs read from cookies before passing to session engine,
       to protect against any engine that might feed that value straight to a
       file path for security - Issue 1118 (bigpresh)
    
     [DOCUMENTATION]
     - Better doc for forward_for_address (PR 1146, Relequestual)
    
     [ENHANCEMENTS]
     - Let Dancer::Test::dancer_response() handle supplying multiple params
       with the same name - Issue 1116 (bigpresh)
    bigpresh committed Feb 15, 2016
  2. Merge pull request #1154 from PerlDancer/bigpresh/1116/dancer_test_mu…

    …lti_params
    
    Handle multiple params with same name in Dancer::Test->dancer_response
    bigpresh committed Feb 15, 2016
  3. Bah, muppetry.

    bigpresh committed Feb 15, 2016
Commits on Feb 14, 2016
  1. Merge pull request #1155 from PerlDancer/bigpresh/1118/validate_sessi…

    …on_id
    
    Validate session IDs
    bigpresh committed Feb 14, 2016
  2. Add new test to MANIFEST

    bigpresh committed Feb 14, 2016
  3. Discard invalid session IDs.

    This fixes #1118 for all session engines (unless they override read_session_id
    for some reason)
    bigpresh committed Feb 14, 2016
  4. Handle an arrayref as a value.

    Allows you to supply multiple params with the same name, by passing an arrayref
    as the value.
    
    This fixes Issue #1116.
    bigpresh committed Feb 14, 2016
  5. Test we can provide multi args via dancer_response.

    A simple test to make sure we can provide multiple params with the same name to
    dancer_response() by passing an arrayref.
    
    This reproduces the problem in Issue #1116.
    bigpresh committed Feb 14, 2016
  6. Merge pull request #1153 from PerlDancer/bigpresh/1140

    Issue 1140: bundle "fixed" HTTP::Body
    bigpresh committed Feb 14, 2016
  7. Update Changes

    bigpresh committed Feb 14, 2016
Commits on Feb 12, 2016
  1. Not clearing the buffer would be wise.

    Somehow couldn't spot that last param to substr for ages - praise and beer-owage
    goes to @skington for spotting that.
    bigpresh committed Feb 12, 2016
Commits on Feb 11, 2016
  1. Use the bundled HTTP::Body here

    bigpresh committed Feb 11, 2016
  2. Add new test to MANIFEST too

    bigpresh committed Feb 11, 2016
  3. Use dzil smoke, not dzil test

    Last Travis build hung, waiting for someone to answer whether the MANIFEST
    should be updated.
    bigpresh committed Feb 11, 2016
Commits on Feb 10, 2016
  1. Bundle HTTP::Body.

    Bundling a modified version of HTTP::Body.
    
    See #1140 for reasons behind this decision.
    bigpresh committed Feb 10, 2016
Commits on Feb 8, 2016
  1. Merge pull request #1152 from PerlDancer/bigpresh/1144/warning_on_opt…

    …ional_megasplat
    
    Avoid warning with non-present optional megasplat.
    bigpresh committed Feb 8, 2016
Commits on Feb 7, 2016
  1. Doco one cookie per name.

    Fixes #1141
    bigpresh committed Feb 7, 2016
  2. Avoid warning with non-present optional megasplat.

    This fixes issue #1144.
    
    If you had a route with an optional megasplat, for example:
    
    ```perl
    get '/foo/?**?' => sub { ... };
    ```
    
    and you called it as `/foo`, you'd get a warning:
    
    ```
    Use of uninitialized value $values[0] in split at
    /home/davidp/dev/github/Dancer/lib/Dancer/Route.pm line 136.
    ```
    
    This fixes it.  However you will still get an empty arrayref.  Part of me would
    prefer it return undef instead of an empty arrayref in this case, but that would
    be changing existing behaviour which apps in the wild may be relying upon, so
    it' probably safest to maintain the same behaviour and just squash the warning.
    bigpresh committed Feb 7, 2016