Skip to content

Commit

Permalink
prepare release 2.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Sep 6, 2015
1 parent 041949a commit b6b07f3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
26 changes: 19 additions & 7 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,16 @@
<date>2015-08-13</date>
<time>16:42:00</time>
<version>
<release>2.3.4</release>
<api>2.3.4</api>
<release>2.3.5</release>
<api>2.3.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>
- Fixed ISSUE #134
- Fixed ISSUE #181
- Fixed invalid read(segfault) with php-5.4
- Fixed bug (Exception in preDispatch is not caught)
- Fixed bug (redirect doesn't work)
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -213,6 +210,22 @@
<providesextension>yaf</providesextension>
<extsrcrelease />
<changelog>
<release>
<date>2015-09-06</date>
<version>
<release>2.3.5</release>
<api>2.3.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Fixed bug (redirect doesn't work)
</notes>
</release>

<release>
<date>2015-08-13</date>
<version>
Expand All @@ -231,7 +244,6 @@
- Fixed bug (Exception in preDispatch is not caught)
</notes>
</release>

<release>
<date>2014-10-22</date>
<version>
Expand Down
2 changes: 1 addition & 1 deletion php_yaf.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ extern zend_module_entry yaf_module_entry;
#define YAF_G(v) (yaf_globals.v)
#endif

#define PHP_YAF_VERSION "2.3.5-dev"
#define PHP_YAF_VERSION "2.3.5"

#define YAF_STARTUP_FUNCTION(module) ZEND_MINIT_FUNCTION(yaf_##module)
#define YAF_RINIT_FUNCTION(module) ZEND_RINIT_FUNCTION(yaf_##module)
Expand Down
4 changes: 2 additions & 2 deletions responses/yaf_response_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ int yaf_response_alter_header(yaf_response_t *response, char *name, uint name_le
int yaf_response_set_redirect(yaf_response_t *response, char *url, int len TSRMLS_DC) {
sapi_header_line ctr = {0};

ctr.line_len = spprintf(&(ctr.line), 0, "%s %s", "Location:", url);
ctr.response_code = 0;
ctr.line_len = spprintf(&(ctr.line), 0, "%s %s", "Location:", url);
ctr.response_code = 0;
if (sapi_header_op(SAPI_HEADER_REPLACE, &ctr TSRMLS_CC) == SUCCESS) {
efree(ctr.line);
return 1;
Expand Down

0 comments on commit b6b07f3

Please sign in to comment.