Giter VIP home page Giter VIP logo

simple-url-shortener's Introduction

Hi My name is Mertcan GÖKGÖZ

DevOps Engineer

Trying my best to add some fun to places where your face might show up

  • 🌍  I'm based in Turkey
  • 🖥️  See my portfolio at Blog
  • ✉️  You can contact me at [email protected]
  • 🚀  I'm currently working on Brandefense
  • 🧠  I'm learning rust lang and kubernetes
  • 🤝  I'm open to collaborating on interesting projects

Skills

Python PHP JavaScript Git HTML5 CSS3 Bootstrap Fast API MongoDB MySQL PostgreSQL Flask Django Amazon Web Services Docker Linux MacOS Raspberry Pi Figma

Socials

Badges

My GitHub Stats

mertcangokgoz's GitHub stats

My Roadmap

roadmap.sh

simple-url-shortener's People

Contributors

aligoren avatar caylakpenguen avatar mertcangokgoz avatar omeripek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simple-url-shortener's Issues

Yeni bi domain validate sınıf

şu linkten etkilenip (regex birebir) bir sınıf haline getirdiğim aşağıdaki kodları domain için kullanabiliriz. klasik doğrulamada tld esgeçiliyordu örn: http://localhost

Aşağıdaki sınıf ile belki istenilen elde edilebilir.

class DomainValidate
{
    static function CheckUrl($url)
    {
        $result = preg_match("%^(?:(?:https?|ftp)://)(?:\S+(?::\S*)?@|\d{1,3}(?:\.\d{1,3}){3}|(?:(?:[a-z\d\x{00a1}-\x{ffff}]+-?)*[a-z\d\x{00a1}-\x{ffff}]+)(?:\.(?:[a-z\d\x{00a1}-\x{ffff}]+-?)*[a-z\d\x{00a1}-\x{ffff}]+)*(?:\.[a-z\x{00a1}-\x{ffff}]{2,6}))(?::\d+)?(?:[^\s]*)?$%iu", $url);
        if ($result) {
            return true;
        }else{
            return false;
        }
    }
}

Kullanımı Şöyle

DomainValidate::CheckUrl("http://site.com);

CheckUrl true ya da false değer döndürecektir.

Kabul Edilenler Listesi:

http://foo.com/blah_blah
http://foo.com/blah_blah/
http://foo.com/blah_blah_(wikipedia)
http://foo.com/blah_blah_(wikipedia)_(again)
http://www.example.com/wpstyle/?p=364
https://www.example.com/foo/?bar=baz&inga=42&quux
http://✪df.ws/123
http://userid:[email protected]:8080
http://userid:[email protected]:8080/
http://[email protected]
http://[email protected]/
http://[email protected]:8080
http://[email protected]:8080/
http://userid:[email protected]
http://userid:[email protected]/
http://142.42.1.1/
http://142.42.1.1:8080/
http://➡.ws/䨹
http://⌘.ws
http://⌘.ws/
http://foo.com/blah_(wikipedia)#cite-1
http://foo.com/blah_(wikipedia)_blah#cite-1
http://foo.com/unicode_(✪)_in_parens
http://foo.com/(something)?after=parens
http://☺.damowmow.com/
http://code.google.com/events/#&product=browser
http://j.mp
ftp://foo.bar/baz
http://foo.bar/?q=Test%20URL-encoded%20stuff
http://مثال.إختبار
http://例子.测试
http://उदाहरण.परीक्षा
http://-.~_!$&'()*+,;=:%40:80%2f::::::@example.com
http://1337.net
http://a.b-c.de
http://223.255.255.254

Edilmeyenler Listesi*


http://
http://.
http://..
http://../
http://?
http://??
http://??/
http://#
http://##
http://##/
http://foo.bar?q=Spaces should be encoded
//
//a
///a
///
http:///a
foo.com
rdar://1234
h://test
http:// shouldfail.com
:// should fail
http://foo.bar/foo(bar)baz quux
ftps://foo.bar/
http://-error-.invalid/
http://a.b--c.de/
http://-a.b.co
http://a.b-.co
http://0.0.0.0
http://10.1.1.0
http://10.1.1.255
http://224.1.1.1
http://1.1.1.1.1
http://123.123.123
http://3628126748
http://.www.foo.bar/
http://www.foo.bar./
http://.www.foo.bar./
http://10.1.1.1

reCaptcha

reCapthca konfigürasyonunu hangi dosya üzerinden yapmalıyız?

Bilinen birkaç sorun

**Tik atılan hatalar çözülmüş olan hatalardır.**Çözülmeyen hatalarda en kısa sürede çözülüp geliştirilmeye devam edilecektir.

Desteğini Sağlayanlar

Furkan Kalkan - https://github.com/geekdinazor
Ömer İpek - https://github.com/omeripek

Buglar

  • Hatalı URL boş dönmesi
  • Karakter Kontrol mekanizması
  • URL Kontrol mekanizması(Curl aracılığı ile)
  • Türkçe karakterli URL sorunu
  • Güvenlik güncellemeleri(XSS,SQL İnj ve Query String)
  • Tasarımda iyileştirmeler
  • Çalışmayan ikonlar

Eklenecek Özellikler

  • İP bazlı URL sayacı
  • Özelleştirilebilir link yönlendirme sayfası
  • Reklam alanları
  • Admin panel (Link,reklam ve özelleştirilebilir sayfa düzenleyebilme)
  • Üyelik ve Login sayfaları için Captcha koruması
  • Şifre Sıfırlama özelliği
  • Kullanıcı Paneli
  • Site istatistikleri
  • Kullanıcı panelinde geçmiş yapıştırmalar.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.