UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
Sponsored Links
Latest Postings
by Gremelin
10/05/15 06:01 PM
Latest Reviews
Topic Options
Rate This Topic
#18794 - 04/15/04 12:05 AM links go to server
Gollum Offline

Registered: 06/05/02
Posts: 207
Loc: US
ok, so inside a perl script of mine, i take user input. this COULD be a link. now my code does a few of find/replace iterations to replace quotes with &quot however, i don't wanna do this in a link (right?) so i've decided to reaplce them with single quotes....for nwo anyway. basically my problem is this. when i click on a link on one of the pages. say "" it'd do like "''" and of course come up with a page doesn't exist error. i'm still doing some testing. and it seems that sometimes when i type th http in front it works...but then sometimes it doesn't. but get this. when i view source. the url is always what i type in. so i think it must be apache that's doing it. but i don't remember it doing it before. so could this also be related to perl? so yeah...for some reason, 90% of the time, it tries finding everything locally. now it doens't happen all the time, i just need to figure out what i'm doing differently. but has anyone else run into this problem?
btw, while i'm posting, thanks for the reply on the hash of arrays, helped out quite a bit in the end.//
Unbodied unsouled unheard unseen
Let the gift be grown in the time to call our own
Truth is natural like a wind that blows
Follow the direction no matter where it goes
Let the truth blow like a hurricane through me

Sponsored Links
#18795 - 04/19/04 01:41 PM Re: links go to server
Brett Offline
Aptenodytes Forsteri

Registered: 08/25/03
Posts: 9
Loc: Salina, KS
I think i know what your talking about here.
$url = 'http://' . $url if(substr($url, 0, 7) ne 'http://');


Moderator:  §intå×, Gremelin 
Featured Member
Registered: 02/28/02
Posts: 7194
Forum Stats
2158 Members
46 Forums
41607 Topics
76782 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 34769
Gremelin 7194
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Jan Havelles, Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit
2158 Registered Users
Who's Online
0 registered (), 207 Guests and 326 Spiders online.
Key: Admin, Global Mod, Mod
Latest News

  Get Firefox!
Get FireFox!