Subversion Repositories wimsdev

Rev

Rev 5150 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4993 bpr 1
!set url=$wims_read_parm
5150 bpr 2
!set url=!nospace $url
5678 obado 3
 
4
!! On utilise une librairie perl pour convertir au format URI correct : liburi-perl
5
!! Au besoin, installez cell-ci : apt-get install liburi-perl
5150 bpr 6
!set url=!sh echo "$url" | perl -e 'use URI::Escape; print uri_escape(<>)';
7
!set url=!replace internal %0A by in $url
5678 obado 8
 
9
!! Ancienne méthode :
5150 bpr 10
!!set url = !replace internal & by %26 in $url
11
!!set url = !replace internal / by %2F in $url
12
!!set url = !replace internal : by %3A in $url
4993 bpr 13
 
14
!set script_out=$url