Ask a Question related to PHP Bugs, Design and Development.
-
walter dot tom+php at gmail dot com #1
#40676 [NEW]: Add FILTER_VALIDATE_URI (replacing FILTER_VALIDATE_URL)?
From: walter dot tom+php at gmail dot com
Operating system:
PHP version: 5.2.1
PHP Bug Type: Feature/Change Request
Bug description: Add FILTER_VALIDATE_URI (replacing FILTER_VALIDATE_URL)?
Description:
------------
It appears as of the fix for #39898 that support for validating relative
URLs and URLs without a schema has been removed, without any option to
allow them.
I understand the reasoning is that the RFC specifies that a URL must
include a schema and a host, which is fair enough.
But it leaves the user with no simple way to validate domain names or
relative URLs.
So can I suggest that we add a FILTER_VALIDATE_URI type that would allow
domains, relative paths, or full URLs?
--
Edit bug report at [url]http://bugs.php.net/?id=40676&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40676&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40676&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40676&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40676&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40676&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40676&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40676&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40676&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40676&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40676&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40676&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40676&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40676&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40676&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40676&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40676&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40676&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40676&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40676&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40676&r=mysqlcfg[/url]
walter dot tom+php at gmail dot com Guest
-
replacing images
I am running Contribute 3.1 and I want to be able to replace an image on a page, but I don't seem to be able to do it. In may seguratheuser asked... -
#39898 [NEW]: FILTER_VALIDATE_URL validates \r\n\t etc.
From: soenke dot ruempler at northclick dot de Operating system: Linux PHP version: 5.2.0 PHP Bug Type: Filter related Bug... -
Replacing files in 3.1
I want my users to be able to replace their own pdf files. This option works well if (and only if) the option is checked off in the user profile to... -
Replacing textures
hi, we're developing web-based applications with large-scaled landscapes and parts of cities. to keep initial file size and texture memory usage... -
Replacing text
I have a script that reads text from a file and inserts text into different places depending on what it needs to do. But I use split to...



Reply With Quote

