Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Archived Discussions
Archived Development & Programming
Hopeless at regex: allowing '+' in permitted_uri_chars
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
Hopeless at regex: allowing '+' in permitted_uri_chars
El Forum
Guest
#1
01-05-2009, 04:45 AM
[eluser]Daniel H[/eluser]
Hi all,
Regex is not my strong point at all! Can anyone let me know how I can allow the plus symbol in uri strings?
Thanks,
Dan.
El Forum
Guest
#2
01-05-2009, 04:47 AM
[eluser]xwero[/eluser]
every regex meta character can be escaped by putting a backward slash in front of it.
El Forum
Guest
#3
01-05-2009, 04:54 AM
[eluser]Daniel H[/eluser]
Ah many thanks - so now I can allow +s, I can't allow %s?
So why doesn't the following...
a-z 0-9~%.:_\-\+\%
...allow this strring...
139+New+Kings+Road,+London
? The percentage sign is disallowed...?
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB