%20 issue in URL

Author Message

Nebojsa Eric

Monday 14 August 2006 5:57:49 am

Hi.

I have a parameter in the URL which looks like this: Ernie%20Ball

What is the best way to read this parameter like Ernie Ball, without %20?

Thanks.

Chalda Pnuzig

Thursday 13 September 2007 7:02:00 am

Add this in template.ini.append.php

[PHP]
PHPOperatorList[strip_tags]=rawurldecode

and then...

{$myVar|rawurldecode()}

:-)

I feel like I could... like I could... TAKE ON THE WORLD!!!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:08:22
Script start
Timing: Jan 18 2025 16:08:22
Module start 'layout'
Timing: Jan 18 2025 16:08:22
Module start 'content'
Timing: Jan 18 2025 16:08:23
Module end 'content'
Timing: Jan 18 2025 16:08:23
Script end

Main resources:

Total runtime1.0873 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.9141152.6094
Module start 'layout' 0.00530.0029 741.523439.3984
Module start 'content' 0.00831.0776 780.9219525.9141
Module end 'content' 1.08590.0014 1,306.83598.1953
Script end 1.0873  1,315.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3234160.0002
Check MTime0.00160.1464160.0001
Mysql Total
Database connection0.00120.109610.0012
Mysqli_queries1.039195.5656540.0192
Looping result0.00050.0417520.0000
Template Total1.057797.320.5288
Template load0.00240.216420.0012
Template processing1.055397.056820.5277
Template load and register function0.00010.008710.0001
states
state_id_array0.00070.068610.0007
state_identifier_array0.00140.126920.0007
Override
Cache load0.00200.1799150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.050220.0003
Fetch class attribute name0.00120.113340.0003
XML
Image XML parsing0.00140.126720.0007
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00200.1860210.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs