View Issue Details

IDProjectCategoryView StatusLast Update
0000285Adventure PHP FrameworkBugpublic2016-03-02 20:13
ReporterChristianAchatzAssigned ToChristianAchatz 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.1 
Target Version3.2Fixed in Version3.2 
Summary0000285: DefaultLinkScheme does not encode blanks properly
DescriptionGenerating link with

$url = Url::fromString('/');
$url->setQuery(['param name' => 'param value']);
$link = LinkGenerator::generateUrl($url, new DefaultLinkScheme());

variable $link contains "param name=param value" with spaces instead of "param%20name=param%20value".
TagsNo tags attached.
Codereferenz: ([Datei]:[Zeile])
Namespacetools

Activities

ChristianAchatz

2016-03-02 20:10

administrator   ~0000676

* Implementation done.
* Unit Tests added.
* New feature added along the way to encode based on RFC 3986 (encoding of all "non-reserved" and "unsafe" characters into their hex representation).

ChristianAchatz

2016-03-02 20:13

administrator   ~0000677

New version available on GitHub under https://github.com/AdventurePHP/code/commit/5e77f7b69bd7168b19dadbf99ed4a3aed7071930 or within snapshot build under http://files.adventure-php-framework.org/snapshot/apf-3.2-snapshot-php5.tar.gz.

Issue History

Date Modified Username Field Change
2016-03-02 20:05 ChristianAchatz New Issue
2016-03-02 20:05 ChristianAchatz Status new => assigned
2016-03-02 20:05 ChristianAchatz Assigned To => ChristianAchatz
2016-03-02 20:10 ChristianAchatz Note Added: 0000676
2016-03-02 20:10 ChristianAchatz Status assigned => resolved
2016-03-02 20:10 ChristianAchatz Fixed in Version => 3.2
2016-03-02 20:10 ChristianAchatz Resolution open => fixed
2016-03-02 20:13 ChristianAchatz Note Added: 0000677