Fabien Potencier
1005fd1f79
fixed Client implementation to return the right Response ( closes #4475 )
2013-04-24 20:50:59 +02:00
Fabien Potencier
1552a16420
Merge branch '2.2'
...
* 2.2:
[Config] #7644 add tests for passing number looking attributes as strings
[HttpFoundation][BrowserKit] fixed path when converting a cookie to a string
[BrowserKit] removed dead code
[HttpFoundation] fixed empty domain= in Cookie::__toString()
fixed detection of secure cookies received over https
[2.2] Pass ESI header to subrequests
[Translation] removed an uneeded class property
[Translation] removed unneeded getter/setter
[Translator] added additional conversion for encodings other than utf-8
fixed source messages to accept pluralized messages [Validator][translation][japanese] add messages for new validator
fix a DI circular reference recognition bug
[HttpFoundation] fixed the creation of sub-requests under some circumstances for IIS
Conflicts:
src/Symfony/Component/HttpFoundation/Tests/CookieTest.php
2013-04-20 21:06:06 +02:00
Andrew Coulton
c2bc707a4d
fixed detection of secure cookies received over https
...
BrowserKit's cookie handling only recognises a secure cookie if the
cookie option is set and the cookie was set over an https request.
The client was not passing the url into the cookiejar update code,
causing Cookie::isSecure() to always return false for every cookie.
Fixes symfony/symfony#7666
2013-04-20 18:48:52 +02:00
dantleech
e655120f05
Enforce sprintf for exceptions
2013-04-11 08:50:46 +02:00
Fabien Potencier
fc40e53724
Revert "merged branch jfsimon/issue-4475 (PR #4497 )"
...
This reverts commit f8a09db5e2
, reversing
changes made to ae2ec36e27
.
2012-06-09 21:38:22 +02:00
jeanfrancois.simon
ce7e1e6c9a
[browser kit] Client now stores filtered response after request.
2012-06-05 10:37:06 +02:00
Philipp Kräutli
fe7b258356
Removed unnecessary use statements
2012-05-18 13:08:19 +02:00
Fabien Potencier
4c7261e3b1
merged 2.0
2012-05-11 18:14:47 +02:00
Jerome Tamarelle
970d0b4ddb
[BrowserKit] Check class existence only when required.
2012-05-03 09:50:46 +02:00
Fabien Potencier
fea6b79acd
moved component and bridge unit tests to the src/ directory
...
This is the first step to make each Symfony Component and Bridge self-contained.
2012-03-29 08:37:22 +02:00
Fabien Potencier
595e6d6ca2
merged 2.0
2012-03-11 18:00:10 +01:00
Clement Herreman
ad07a95818
[BrowserKit] Fixed Client->back/forward/reload() not keeping all request attributes
...
The method used internally in these methods, Client->#requestFromRequest was badly
passing the old request parameters to the new request.
2012-03-10 16:26:36 +01:00
Fabien Potencier
70532ca4a7
merged 2.0
2012-03-08 19:29:37 +01:00
Jérémy CROMBEZ
3c6a8e53d3
[BrowserKit] Missing @return Crawler annotation for the click() Client method.
2012-03-03 14:34:04 +01:00
Fabien Potencier
5fa0f2d92b
merged 2.0
2012-01-16 07:44:08 +01:00
Kris Wallsmith
fe62401907
optimized string starts with checks
...
Doing this with strpos() is slightly faster than substr().
2012-01-11 11:33:56 -08:00
Fabien Potencier
466a8b8f48
Merge branch '2.0'
...
* 2.0:
[Tests] Skip segfaulting form test
Rename test file
[BrowserKit] added missing @return PHPDoc for the Client::submit() method.
also test PHP 5.3.2, since this is the official lowest supported PHP version
2011-12-30 15:44:05 +01:00
Hugo Hamon
885fa02871
[BrowserKit] added missing @return PHPDoc for the Client::submit() method.
2011-12-29 15:00:40 +01:00
Fabien Potencier
142cef21bb
merged 2.0
2011-12-13 16:12:53 +01:00
Fabien Potencier
e3421a0b1d
[DoctrineBridge] fixed some CS
2011-12-13 10:22:12 +01:00
Fabien Potencier
fbc422b978
[BrowserKit] added the standard output when an error occurs during the request execution (it might contain very useful information for debugging)
2011-10-21 07:39:26 +02:00
Fabien Potencier
3426c8390c
[BrowserKit] fixed cookie updates from Response (the URI here is not the base URI, so it should not be used to determine the default values missing in the cookie, closes #2309 )
2011-10-15 02:32:15 +02:00
Fabien Potencier
91a41020a8
merged branch sasezaki/BrowserKit_useragent (PR #1789 )
...
Commits
-------
266e60e
Don't tell a lie to every WebServers
Discussion
----------
Please don't tell a lie to every WebServers
Fake Useragent name should be only in test case .
2011-07-26 09:21:10 +02:00
sasezaki
266e60e7a2
Don't tell a lie to every WebServers
2011-07-24 14:01:26 +09:00
Arnout Boks
bd9af2b0d0
[BrowserKit] Fixed incorrect temp dir when running insulated functional tests under Windows
2011-07-23 18:13:32 +02:00
Fabien Potencier
1cec45c421
[BrowserKit] fixed test insulation on Mac
2011-07-22 17:40:14 +02:00
kwiateusz
9e038c005c
Edited src/Symfony/Component/BrowserKit/Client.php via GitHub
2011-07-19 02:34:03 -07:00
Fabien Potencier
9483c4ffa3
[BrowserKit] convert a click to a submit when the link is actually a form
2011-06-17 15:23:12 +02:00
Fabien Potencier
6d334289ee
[BrowserKit] fixed a weird behavior where a PHP process returns a successful exit code, but the PHP scripts actually died
2011-05-04 09:08:05 +02:00
hidenorigoto
1d85a3dcb1
[BrowserKit] added getServerParameter method which makes setServerParameters/setServerParameter methods testable
2011-04-17 11:22:59 +09:00
hidenorigoto
54c3d236c2
[BrowserKit] added the method to Client which enables to set single server parameter
2011-04-17 10:45:32 +09:00
Fabien Potencier
ff3c66753f
[BrowserKit] tagged the guaranteed BC API
2011-03-24 09:25:46 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
hhamon
b61e288e0b
[BrowserKit] fix phpdoc for Client::followRedirect()
2011-02-17 19:38:06 +01:00
Tim Nagel
93fd935b70
PHPDoc style fix
2011-02-07 01:02:56 +01:00
Tim Nagel
0d6a6b79f0
PHPDoc fixes
2011-02-07 00:44:48 +01:00
Tim Nagel
69672bad59
Added phpdoc to BrowserKit
2011-02-07 00:44:48 +01:00
Martijn Evers
1e3dc1479c
[Testing][HttpKernel] Added possibility to functional test raw body data
2011-02-04 13:07:13 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
ornicar
cf8d473313
[BrowserKit] Fix parameters order in Client::submit
2010-11-03 15:15:21 +01:00
Kris Wallsmith
f79e23ffb5
Removed all those spaces after @author that were bothering me so…
2010-10-18 16:55:41 +02:00
Fabien Potencier
7734f44bc5
[Process] added a Process:isSucessful() method
2010-09-16 08:55:44 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00