Fixes pagination with relative URL
Fixes pagination with relative URL

When base_url is a URL based on protocol, like "//www.google.com" the double slash regex kills the first "//".
juanjosemiranda/primer,megaspy/rental,serpes/CodeIgniter,lucasfong/CodeIgniter,nandadotexe/CodeIgniter,AndreiMariusSili/EnactusMVC,andreaslangsays/CodeIgniter,vlakoff/CodeIgniter,weslenam/kymera,jiaojie1989/CodeIgniter,darrelljefferson/viper,Avantians/CodeIgniter,marimarluna/CodeIgniter-develop,lonnieezell/CodeIgniter,rajrathore/CodeIgniter,zhangbo127/CodeIgniter,ipabz/CodeIgniter,lucasfong/CodeIgniter,MonCoder/CodeIgniter,n054/CodeIgniter,Brother-Simon/CodeIgniter,kukuhsetiawan/CodeIgniter,joariasl/CodeIgniter,faregon/CodeIgniter,chadzilla2080/CodeIgniter,Gektorian/CodeIgniter,shanavas786/CodeIgniter,kigsmtua/CodeIgniter,madwings/InsaneDB,tschmidiger/CodeIgniter,it-can/CodeIgniter,acepsaepudin/traffic-infrastructure-app,Sevdr/CodeIgniter,ftwbzhao/CodeIgniter,dhayalram123/CodeIgniter,Tpojka/CodeIgniter,aryan-2016/CodeIgniter,AndreiMariusSili/Enactus,KmServer/CodeIgniter,madwings/InsaneDB,jiaojie1989/CodeIgniter,aperera/CodeIgniter,chadzilla2080/CodeIgniter,dinhmv/demo,freeztime/CodeIgniter,DiZyStudio/ci,andersonunsonst/CodeIgniter,aquasky111/CodeIgniter,DavidOtis/CodeIgniter,invitecomm/CodeIgniter,acepsaepudin/traffic-infrastructure-app,Bluewind/filebin,Neoskate/CodeIgniter,mfaraz/CodeIgniter,tianhe1986/CodeIgniter,whilewon/CodeIgniter,Brother-Simon/CodeIgniter,ipabz/CodeIgniter,taro-asahi/CodeIgniter,asp7bit/trackindo,antoniors/CodeIgniter,openset/ci,benms/CodeIgniter,KmServer/CodeIgniter,KeiroD/CodeIgniter,andreaslangsays/CodeIgniter,KmServer/CodeIgniter,LamarKing/CodeIgniter,asmdigital/CodeIgniter,ivantcholakov/CodeIgniter,ftwbzhao/CodeIgniter,KIGOTHO/CodeIgniter,WSDC-NITWarangal/CodeIgniter,ET-NiK/CodeIgniter,Calico90/CodeIgniter,Avantians/CodeIgniter,pkuclay/CodeIgniter,DiZyStudio/ci,rootcss/CodeIgniter,nishatbaig/CodeIgniter,daoyuly/CodeIgniter,trinet-at/CodeIgniter,benms/CodeIgniter,antoniors/CodeIgniter,shanavas786/CodeIgniter,joariasl/CodeIgniter,asmdigital/CodeIgniter,ajose1024/Code_Igniter_Extended,namnv609/CodeIgniter,doniisetiiawan/CodeIgniter,nonconforme/CodeIgniter,globlob/CodeIgniter,daoyuly/CodeIgniter,ajose1024/Code_Igniter_Extended,Calico90/CodeIgniter,AndreiMariusSili/Enactus,mfaraz/CodeIgniter,r-cis/CodeIgniter,invitecomm/CodeIgniter,acepsaepudin/traffic-infrastructure-app,smallp/CodeIgniter,FacundoGFlores/CodeIgniter,invitecomm/CodeIgniter,bcit-ci/CodeIgniter,zcodes/CodeIgniter,Tpojka/CodeIgniter,rafelsanso/kitmaker-project,n054/CodeIgniter,KIGOTHO/CodeIgniter,andreaslangsays/CodeIgniter,tschmidiger/CodeIgniter,yonineitor/CodeIgniter,liuxulei/CodeIgniter,lonnieezell/CodeIgniter,megaspy/rental,gopalindians/CodeIgniter,titounnes/CodeIgniter,MjAbuz/CodeIgniter,chinatown34/ci_bind_wrap,moon-siama/codeigniter,Tpojka/CodeIgniter,kigsmtua/CodeIgniter,KeiroD/CodeIgniter,dimaspermadiyp/CodeIgniter,fjsevillamora/CodeIgniter,kobeuu/CodeIgniter,tschmidiger/CodeIgniter,butane/CodeIgniter,freeztime/CodeIgniter,eddomirsyad/CodeIgniter,DiederikLascaris/CodeIgniter,Bluewind/filebin,codergma/CodeIgniter,faozimipa/CodeIgniter,saisai/CodeIgniter,b1tc0re/CodeIgniter,nadeemehsan9/CodeIgniter,kenjis/CodeIgniter,Husseinat/engsoft,Sproypef/CodeIgniter_AdminLTE2_Blade,natepizzle/nah-codeigniter,zcodes/CodeIgniter,chinatown34/ci_bind_wrap,TimHuangcheng/CodeIgniter,nadeemehsan9/CodeIgniter,Neoskate/CodeIgniter,darrelljefferson/viper,pkdevbox/CodeIgniter,nandadotexe/CodeIgniter,usbader/QuizApp,whilewon/CodeIgniter,butane/CodeIgniter,ivantcholakov/CodeIgniter,HindrikDeelstra/codeigniter-snackapp,Cediwallet/code,TimHuangcheng/CodeIgniter,dkarvounaris/CodeIgniter,ftwbzhao/CodeIgniter,pkuclay/CodeIgniter,dhayalram123/CodeIgniter,ster/CodeIgniter,neomadara/CodeIgniter,ganiutomo/CodeIgniter,gt945/CodeIgniter,Brother-Simon/CodeIgniter,tschmidiger/CodeIgniter,freeztime/CodeIgniter,chadzilla2080/CodeIgniter,DiederikLascaris/CodeIgniter,netsan/CodeIgniter-Research,kamaslau/BasicCodeIgniter,DiederikLascaris/CodeIgniter,vlakoff/CodeIgniter,Neoskate/CodeIgniter,joel-medeiros/CodeIgniter,marimarluna/CodeIgniter-develop,madwings/InsaneDB,bcit-ci/CodeIgniter,SmileDrug/CodeIgniter,HindrikDeelstra/codeigniter-snackapp,FacundoGFlores/CodeIgniter,nishatbaig/CodeIgniter,saisai/CodeIgniter,ET-NiK/CodeIgniter,titounnes/CI_BaseConfig,yonineitor/CodeIgniter,RobbertdeJel/CodeIgniter,globlob/CodeIgniter,ster/CodeIgniter,globlob/CodeIgniter,Tpojka/CodeIgniter,n054/CodeIgniter,tangposmarvin/CodeIgniter,titounnes/CI_BaseConfig,marimarluna/CodeIgniter-develop,ET-NiK/CodeIgniter,MonCoder/CodeIgniter,nadeemehsan9/CodeIgniter,codergma/CodeIgniter,MonCoder/CodeIgniter,cgvarela/CodeIgniter,shrimpma/CodeIgniter,Gektorian/CodeIgniter,Gektorian/CodeIgniter,it-can/CodeIgniter,Oiro/CodeIgniter,r-cis/CodeIgniter,darrelljefferson/viper,bcit-ci/CodeIgniter,zcodes/CodeIgniter,SmileDrug/CodeIgniter,pkdevbox/CodeIgniter,Sevdr/CodeIgniter,mfaraz/CodeIgniter,FacundoGFlores/CodeIgniter,KeiroD/CodeIgniter,ShrmnK/CodeIgniter,zhanghongyi/CodeIgniter,Bluewind/filebin,kenjis/CodeIgniter,dcarbone/CodeIgniter,dhayalram123/CodeIgniter,chinatown34/ci_bind_wrap,KIGOTHO/CodeIgniter,pravinhirmukhe/CodeIgniter,moon-siama/codeigniter,jim-parry/CodeIgniter,Sproypef/CodeIgniter_AdminLTE2_Blade,zhaoyan158567/CodeIgniter,CodeIgniter-Chinese/CodeIgniter,cgvarela/CodeIgniter,WSDC-NITWarangal/CodeIgniter,b1tc0re/CodeIgniter,DavidOtis/CodeIgniter,doniisetiiawan/CodeIgniter,runphp/CodeIgniter,Sevdr/CodeIgniter,nonconforme/CodeIgniter,Cediwallet/code,jiachenning/CodeIgniter,kala725/CodeIgniter-with-React,aquasky111/CodeIgniter,codergma/CodeIgniter,daoyuly/CodeIgniter,poing/CodeIgniter,taro-asahi/CodeIgniter,andersonunsonst/CodeIgniter,kigsmtua/CodeIgniter,lonnieezell/CodeIgniter,DavidOtis/CodeIgniter,tangposmarvin/CodeIgniter,saisai/CodeIgniter,serpes/CodeIgniter,saisai/CodeIgniter,AndreiMariusSili/EnactusMVC,zares85/mvf,poing/CodeIgniter,natepizzle/nah-codeigniter,roastduck/CodeIgniter,kobeuu/CodeIgniter,gastongr/CodeIgniter,ganiutomo/CodeIgniter,Gektorian/CodeIgniter,dinhmv/demo,DiZyStudio/ci,Brother-Simon/CodeIgniter,souparno/CodeIgniter,Oiro/CodeIgniter,tschmidiger/CodeIgniter,gt945/CodeIgniter,jellycheng/CodeIgniter,antoniors/CodeIgniter,benms/CodeIgniter,gastongr/CodeIgniter,alex1442/CodeIgniter,jiachenning/CodeIgniter,chinatown34/ci_bind_wrap,feryardiant/codeigniter,neomadara/CodeIgniter,dkarvounaris/CodeIgniter,ajose1024/Code_Igniter_Extended,galdiolo/CodeIgniter,Cediwallet/code,dotancohen/CodeIgniter,stevebritton/CodeIgniter,vrkansagara/CodeIgniter,runphp/CodeIgniter,eddomirsyad/CodeIgniter,openset/ci,vrkansagara/CodeIgniter,pkdevbox/CodeIgniter,feryardiant/codeigniter,titounnes/CI_BaseConfig,bcit-ci/CodeIgniter,neomadara/CodeIgniter,nandadotexe/CodeIgniter,juanjosemiranda/primer,joel-medeiros/CodeIgniter,iLotus/CodeIgniter,TimHuangcheng/CodeIgniter,roastduck/CodeIgniter,n054/CodeIgniter,ET-NiK/CodeIgniter,taro-asahi/CodeIgniter,stevebritton/CodeIgniter,netsan/CodeIgniter-Research,AndreiMariusSili/Enactus,kobeuu/CodeIgniter,MonCoder/CodeIgniter,kuaimainc/Kuaima-CodeIgniter,liuxulei/CodeIgniter,ytetsuro/CodeIgniter,mewt/CodeIgniter,it-can/CodeIgniter,lucasfong/CodeIgniter,ganiutomo/CodeIgniter,gopalindians/CodeIgniter,SmileDrug/CodeIgniter,rootcss/CodeIgniter,n054/CodeIgniter,jiachenning/CodeIgniter,aquasky111/CodeIgniter,MjAbuz/CodeIgniter,joel-medeiros/CodeIgniter,freeztime/CodeIgniter,invitecomm/CodeIgniter,usbader/QuizApp,trinet-at/CodeIgniter,dcarbone/CodeIgniter,JungMinu/CodeIgniter,runphp/CodeIgniter,b1tc0re/CodeIgniter,sebastienadam/CodeIgniter,lucasfong/CodeIgniter,tieutumathi/CodeIgniterM,DiZyStudio/ci,titounnes/CodeIgniter,aperera/CodeIgniter,Bluewind/filebin,kenjis/CodeIgniter,iLotus/CodeIgniter,poing/CodeIgniter,zhangzhengyu/CodeIgniter,taro-asahi/CodeIgniter,zhanghongyi/CodeIgniter,codergma/CodeIgniter,Calico90/CodeIgniter,vlakoff/CodeIgniter,zoaked/CodeIgniter,titounnes/CodeIgniter,usbader/QuizApp,HindrikDeelstra/codeigniter-snackapp,JungMinu/CodeIgniter,marimarluna/CodeIgniter-develop,ET-NiK/CodeIgniter,jim-parry/CodeIgniter,neomadara/CodeIgniter,ipabz/CodeIgniter,ytetsuro/CodeIgniter,pkuclay/CodeIgniter,demenvil/CodeIgniter,bcit-ci/CodeIgniter,zhangbo127/CodeIgniter,megaspy/rental,skullJ/CodeIgniter,kigsmtua/CodeIgniter,ster/CodeIgniter,ganiutomo/CodeIgniter,CodeIgniter-Chinese/CodeIgniter,KmServer/CodeIgniter,aryan-2016/CodeIgniter,moon-siama/codeigniter,gopalindians/CodeIgniter,rootcss/CodeIgniter,JungMinu/CodeIgniter,zoaked/CodeIgniter,openset/ci,alex1442/CodeIgniter,pkdevbox/CodeIgniter,tschmidiger/CodeIgniter,cgvarela/CodeIgniter,trinet-at/CodeIgniter,stevebritton/CodeIgniter,jellycheng/CodeIgniter,jiachenning/CodeIgniter,KIGOTHO/CodeIgniter,kala725/CodeIgniter-with-React,antoniors/CodeIgniter,dcarbone/CodeIgniter,CodeIgniter-Chinese/CodeIgniter,kala725/CodeIgniter-with-React,asmdigital/CodeIgniter,dimaspermadiyp/CodeIgniter,asmdigital/CodeIgniter,Husseinat/engsoft,asmdigital/CodeIgniter,dinhmv/demo,gastongr/CodeIgniter,acepsaepudin/traffic-infrastructure-app,nadeemehsan9/CodeIgniter,RobbertdeJel/CodeIgniter,zhangbo127/CodeIgniter,gastongr/CodeIgniter,ganiutomo/CodeIgniter,whilewon/CodeIgniter,vlakoff/CodeIgniter,pravinhirmukhe/CodeIgniter,galdiolo/CodeIgniter,feryardiant/codeigniter,titounnes/CodeIgniter,serpes/CodeIgniter,butane/CodeIgniter,andreaslangsays/CodeIgniter,MjAbuz/CodeIgniter,zhangzhengyu/CodeIgniter,madwings/InsaneDB,r-cis/CodeIgniter,HindrikDeelstra/codeigniter-snackapp,ster/CodeIgniter,demenvil/CodeIgniter,LamarKing/CodeIgniter,LamarKing/CodeIgniter,souparno/CodeIgniter,WSDC-NITWarangal/CodeIgniter,juanjosemiranda/primer,aperera/CodeIgniter,namnv609/CodeIgniter,zhangzhengyu/CodeIgniter,mewt/CodeIgniter,usbader/QuizApp,shanavas786/CodeIgniter,rafelsanso/kitmaker-project,dinhmv/demo,netsan/CodeIgniter-Research,weslenam/kymera,zhangzhengyu/CodeIgniter,Husseinat/engsoft,feryardiant/codeigniter,shrimpma/CodeIgniter,cmayo/CodeIgniter,kamaslau/BasicCodeIgniter,sebastienadam/CodeIgniter,zares85/mvf,DavidOtis/CodeIgniter,aryan-2016/CodeIgniter,LamarKing/CodeIgniter,vrkansagara/CodeIgniter,rafelsanso/kitmaker-project,ivantcholakov/CodeIgniter,cmayo/CodeIgniter,CodeIgniter-Chinese/CodeIgniter,poing/CodeIgniter,shanavas786/CodeIgniter,weslenam/kymera,fjsevillamora/CodeIgniter,mewt/CodeIgniter,namnv609/CodeIgniter,Calico90/CodeIgniter,asp7bit/trackindo,titounnes/CI_BaseConfig,butane/CodeIgniter,Calico90/CodeIgniter,tianhe1986/CodeIgniter,andersonunsonst/CodeIgniter,namnv609/CodeIgniter,aperera/CodeIgniter,jellycheng/CodeIgniter,dimaspermadiyp/CodeIgniter,alex1442/CodeIgniter,Husseinat/engsoft,cmayo/CodeIgniter,sebastienadam/CodeIgniter,ster/CodeIgniter,WSDC-NITWarangal/CodeIgniter,liuxulei/CodeIgniter,it-can/CodeIgniter,skullJ/CodeIgniter,MjAbuz/CodeIgniter,titounnes/CI_BaseConfig,tianhe1986/CodeIgniter,it-can/CodeIgniter,kuaimainc/Kuaima-CodeIgniter,nonconforme/CodeIgniter,kukuhsetiawan/CodeIgniter,poing/CodeIgniter,souparno/CodeIgniter,aquasky111/CodeIgniter,DiederikLascaris/CodeIgniter,trinet-at/CodeIgniter,jim-parry/CodeIgniter,joariasl/CodeIgniter,Oiro/CodeIgniter,liuxulei/CodeIgniter,natepizzle/nah-codeigniter,stevebritton/CodeIgniter,kobeuu/CodeIgniter,faregon/CodeIgniter,daoyuly/CodeIgniter,jellycheng/CodeIgniter,ivantcholakov/CodeIgniter,madwings/InsaneDB,asp7bit/trackindo,zhaoyan158567/CodeIgniter,galdiolo/CodeIgniter,faozimipa/CodeIgniter,JungMinu/CodeIgniter,cgvarela/CodeIgniter,Avantians/CodeIgniter,smallp/CodeIgniter,ShrmnK/CodeIgniter,yonineitor/CodeIgniter,nishatbaig/CodeIgniter,Neoskate/CodeIgniter,faozimipa/CodeIgniter,dotancohen/CodeIgniter,ivantcholakov/CodeIgniter,kala725/CodeIgniter-with-React,kukuhsetiawan/CodeIgniter,runphp/CodeIgniter,serpes/CodeIgniter,jiaojie1989/CodeIgniter,jiaojie1989/CodeIgniter,butane/CodeIgniter,demenvil/CodeIgniter,souparno/CodeIgniter,sebastienadam/CodeIgniter,zhaoyan158567/CodeIgniter,doniisetiiawan/CodeIgniter,cmayo/CodeIgniter,ipabz/CodeIgniter,Sproypef/CodeIgniter_AdminLTE2_Blade,zhaoyan158567/CodeIgniter,zhanghongyi/CodeIgniter,Cediwallet/code,dkarvounaris/CodeIgniter,ShrmnK/CodeIgniter,iLotus/CodeIgniter,iLotus/CodeIgniter,kukuhsetiawan/CodeIgniter,pravinhirmukhe/CodeIgniter,HindrikDeelstra/codeigniter-snackapp,ytetsuro/CodeIgniter,vrkansagara/CodeIgniter,benms/CodeIgniter,KeiroD/CodeIgniter,fjsevillamora/CodeIgniter,Sevdr/CodeIgniter,joel-medeiros/CodeIgniter,faregon/CodeIgniter,skullJ/CodeIgniter,darrelljefferson/viper,RobbertdeJel/CodeIgniter,KeiroD/CodeIgniter,yonineitor/CodeIgniter,rajrathore/CodeIgniter,megaspy/rental,openset/ci,dotancohen/CodeIgniter,gt945/CodeIgniter,SmileDrug/CodeIgniter,whilewon/CodeIgniter,chadzilla2080/CodeIgniter,shrimpma/CodeIgniter,dimaspermadiyp/CodeIgniter,rafelsanso/kitmaker-project,openset/ci,r-cis/CodeIgniter,nandadotexe/CodeIgniter,invitecomm/CodeIgniter,ftwbzhao/CodeIgniter,jim-parry/CodeIgniter,roastduck/CodeIgniter,andersonunsonst/CodeIgniter,DiederikLascaris/CodeIgniter,asp7bit/trackindo,rajrathore/CodeIgniter,globlob/CodeIgniter,ytetsuro/CodeIgniter,RobbertdeJel/CodeIgniter,roastduck/CodeIgniter,tianhe1986/CodeIgniter,natepizzle/nah-codeigniter,dkarvounaris/CodeIgniter,ytetsuro/CodeIgniter,tianhe1986/CodeIgniter,zhangbo127/CodeIgniter,dhayalram123/CodeIgniter,kuaimainc/Kuaima-CodeIgniter,juanjosemiranda/primer,doniisetiiawan/CodeIgniter,faregon/CodeIgniter,mfaraz/CodeIgniter,joariasl/CodeIgniter,Tpojka/CodeIgniter,Oiro/CodeIgniter,Husseinat/engsoft,gopalindians/CodeIgniter,kamaslau/BasicCodeIgniter,ajose1024/Code_Igniter_Extended,alex1442/CodeIgniter,weslenam/kymera,kuaimainc/Kuaima-CodeIgniter,kala725/CodeIgniter-with-React,lonnieezell/CodeIgniter,FacundoGFlores/CodeIgniter,kamaslau/BasicCodeIgniter,Bluewind/filebin,Avantians/CodeIgniter,dcarbone/CodeIgniter,zcodes/CodeIgniter,pravinhirmukhe/CodeIgniter,AndreiMariusSili/EnactusMVC,b1tc0re/CodeIgniter,nonconforme/CodeIgniter,ipabz/CodeIgniter,tangposmarvin/CodeIgniter,fjsevillamora/CodeIgniter,aryan-2016/CodeIgniter,rajrathore/CodeIgniter,pkuclay/CodeIgniter,Sproypef/CodeIgniter_AdminLTE2_Blade,demenvil/CodeIgniter,ShrmnK/CodeIgniter,zoaked/CodeIgniter,marimarluna/CodeIgniter-develop,weslenam/kymera,galdiolo/CodeIgniter,zoaked/CodeIgniter,zhanghongyi/CodeIgniter,nishatbaig/CodeIgniter,TimHuangcheng/CodeIgniter,faozimipa/CodeIgniter,mewt/CodeIgniter,jim-parry/CodeIgniter,eddomirsyad/CodeIgniter,rootcss/CodeIgniter,eddomirsyad/CodeIgniter,tieutumathi/CodeIgniterM,b1tc0re/CodeIgniter,shrimpma/CodeIgniter,gastongr/CodeIgniter,kenjis/CodeIgniter,dotancohen/CodeIgniter,tangposmarvin/CodeIgniter