#6213: Allow ~ character in url validation
--------------------------------------+-------------------------------------
Reporter: pearj | Owner:
Type: Enhancement | Status: new
Priority: Medium | Milestone: 1.3.x.x
Component: Validation | Version:
Severity: Normal | Resolution:
Keywords: url validation tild ~ | Php_version: PHP 5
Cake_version: 1.2.2.8120 |
--------------------------------------+-------------------------------------
Comment (by harking):
It is true that the RFC from 1994 that you linked does forbid the use of ~
in URLs and opts for the encoded version of that character. [[BR]]
[[BR]]
However, in later RFCs that are linked from the W3C's site at
http://www.w3.org/Addressing/ , specifically
http://labs.apache.org/webarch/uri/rfc/rfc3986.html , it is noted that
restriction of ~ in URLs is no longer required, and it is now the
responsibility of the code receiving the URL to normalize it to the
encoded form as needed.
I feel that allowing ~'s as a valid character in the URL validator would
be fine for a 1.2 patch.
--
Ticket URL: <https://trac.cakephp.org/ticket/6213#comment:2>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---