[RESOLVED]URL alias problem
-
PF version is pfSense-2.0-BETA1-20100419-1943
After adding url alias ,web ui disappeared.
Screeshot attached.
-
Were you using it for the intended function, which is to download aliases from a file on a web server? Of course, even if you did misinterpret the purpose, it probably needs to be able to detect that the file wasn't a list of aliases.
If it was that you misinterpreted what it was for, I'm still unsure of why it would cause this, though.
-
I only add http://www.google.com as URL from firewall>aliases and apply,and then it's happened.
-
So it is as I suspected. This is not what the option was intended for. I'm fairly sure this is for downloading aliases, not for having an alias that points to a URL. This case maybe should be handled with some way of detecting whether the file actually contains aliases (or at least the description needs to be a bit more clear). The format is probably the same as the bulk alias import page, so they could probably use the same validation (if they have any).
-
Ok thank you for your attention,now it's very clearer ,its link to bulk alias import.
Now the question ,how bring back web UI?:D
-
If you have access to SSH or the system's console, you could edit /conf/config.xml to manually delete the alias. From the console menu, select 8 then type ee /conf/config.xml (use the Esc key to get to its menu to save the changes). With SSH, you could do it from the console with an SSH terminal client or use a file transfer utility that supports SSH. After you are done fixing it, use the console to reboot.
-
Looks like that needs some more validation there.
I am working on other features in the alias area today, I will probably fix this along with the other work I'm doing.
-
This should be fixed now in new snapshots generated after this post. I added some validation before the data is imported. I then tried to enter that same URL again and it merely printed the expected error for invalid data.
-
Efonne ans jimp thanks for your attentions ,now validations working,I installed new snap and add to URL alias same string(httt://www.google.com).
Here is error output:
The following input errors were detected:
* You must provide a valid URL.