Skip to content
This repository was archived by the owner on Nov 22, 2025. It is now read-only.

Release v0.3.5 - 2017-11-05

Choose a tag to compare

@shirohana shirohana released this 08 Nov 18:52
· 92 commits to dev since this release
v0.3.5

Changed

  • Now the routefiles that transform failed will print error stack and response 500 status instead ignoring

  • Improve tiny build time at startup

  • Use decodeURI to bypass special characters

    If your request path contains any special characters, you should use encodeURI before requesting.

    Although HTTP has already transformed these special characters for you, but it also transforms \\
    to /. At least use encodeURI when request path contains a \\.

    axios.get('/c:\\program files')
    // Received: GET /c:/program files (unexpected)
    axios.get(encodeURI('/c:\\program files'))
    // Received: GET /c:\\program files

    Note 1. Dynapi use two sequences to bypass matching a parameter beginning: :: and \:

Fixed

  • Fix calling next() at wrong case
  • Fix error stack tracing when transform failed