CodeIgniter Forums

Full Version: Replacing URI Characters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

I'm curious how I filter for data in the URI segments and replace those values. For example, I work in the auto industry and some dealerships like to enter in Sprinter 144" as the model. Well, when we go to pass that into the uri to look it up in the database, I get the Disallowed URI Characters problem. I'm just not sure how to replace that '144"' with '144'. Do I look in the core CI files to extend it?

El Forum

Just check system/application/config

find config.php

You will find your answer.